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
44
45
46
|
<?xml version='1.0' encoding='utf-8'?>
<openerp>
<data>
<record id="inherit_stock_view_form" model="ir.ui.view">
<field name="name">stock.view.inherit.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_out_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name="invoice_state"]" position="after">
<group colspan="9" col="3">
<group col="3">
<field name="pay_state" readonly="1"/>
<button name="change_state" string="Pay" type="object" icon="terp-stock_effects-object-colorize" groups="m321_customization.group_picking_pay_manager"/>
</group>
<field name="total_sale" readonly="1"/>
</group>
</xpath>
<xpath expr="//tree/field[@name="product_id"]" position="after">
<field name="product_upc"/>
</xpath>
<xpath expr="//tree/field[@name="product_qty"]" position="before">
<field name="price_unit"/>
</xpath>
<xpath expr="//field[@name="backorder_id"]" position="before">
<field name="sales_incoterm"/>
</xpath>
</field>
</record>
<record id="inherit_stock_view_search" model="ir.ui.view">
<field name="name">stock.view.inherit.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_out_search"/>
<field name="arch" type="xml">
<xpath expr="//filter[@string="Journal"]" position="before">
<filter icon="terp-check" name="payed" string="Payed" domain="[('pay_state','=','payed')]" help="Assigned Delivery Orders"/>
<filter icon="terp-check" name="not_payed" string="Not Payed" domain="[('pay_state','=','paynot')]" help="Assigned Delivery Orders"/>
</xpath>
</field>
</record>
</data>
</openerp>
|