forked from akretion/printers
-
Notifications
You must be signed in to change notification settings - Fork 1
/
base_view.xml
43 lines (42 loc) · 2.02 KB
/
base_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
##############################################################################
#
# printers module for OpenERP, Allow to manage printers un OpenERP
# Copyright (C) 2011 SYLEAM Info Services ([http://www.Syleam.fr/])
# Sylvain Garancher [[email protected]]
# Christophe CHAUVET [[email protected]]
#
# This file is a part of printers
#
# printers is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# printers is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see [http://www.gnu.org/licenses/].
#
##############################################################################
#
# Inherit the user view to add his default printer
#
<record id="view_res_users_form_modif_printer_form" model="ir.ui.view">
<field name="name">res.users.form.modif - Printer</field>
<field name="model">res.users</field>
<field name="priority" eval="40"/>
<field name="inherit_id" ref="base.view_users_form_simple_modif"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='tz']" position="after">
<field name="context_printer_id" readonly="0"/>
</xpath>
</field>
</record>
</data>
</openerp>