forked from OCA/report-print-send
-
Notifications
You must be signed in to change notification settings - Fork 0
/
users_view.xml
30 lines (27 loc) · 1022 Bytes
/
users_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
<?xml version="1.0"?>
<openerp>
<data>
<!-- res.users form view -->
<record model="ir.ui.view" id="view_users_form">
<field name="name">res.users.form.add.printer.tray</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base_report_to_printer.view_printing_users_form" />
<field name="arch" type="xml">
<field name="printing_printer_id" position="after">
<field name="printer_tray_id"/>
</field>
</field>
</record>
<!-- res.users form view (My preferences popup) -->
<record model="ir.ui.view" id="view_users_form">
<field name="name">res.users.form.printing.tray</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base_report_to_printer.view_printing_users_prefs" />
<field name="arch" type="xml">
<field name="printing_printer_id" position="after">
<field name="printer_tray_id"/>
</field>
</field>
</record>
</data>
</openerp>