forked from akretion/sale-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
invoice_view.xml
29 lines (26 loc) · 1.21 KB
/
invoice_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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="invoice_supplier_form" model="ir.ui.view">
<field name="name">account.invoice.supplier.form2</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_supplier_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree[@string='Invoice lines']/field[@name='product_id']" position="before">
<field name="sequence" widget="handle"/>
</xpath>
</field>
</record>
<record id="invoice_form" model="ir.ui.view">
<field name="name">account.invoice.form</field>
<field name="model">account.invoice</field>
<field name="inherit_id" ref="account.invoice_form" />
<field name="priority">2</field>
<field name="arch" type="xml">
<xpath expr="//field[@name='invoice_line']/tree[@string='Invoice Lines']/field[@name='product_id']" position="before">
<field name="sequence" widget="handle"/>
</xpath>
</field>
</record>
</data>
</openerp>