forked from OCA/delivery-carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstock_view.xml
33 lines (32 loc) · 1.53 KB
/
stock_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
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_picking_out_form_carrier_file" model="ir.ui.view">
<field name="name">stock.picking.out.form</field>
<field name="model">stock.picking.out</field>
<field name="inherit_id" ref="stock.view_picking_out_form"/>
<field name="arch" type="xml">
<data>
<page string="Additional Info" position="inside">
<group>
<field name="carrier_file_generated"/>
</group>
</page>
</data>
</field>
</record>
<record id="view_picking_out_search_carrier_file" model="ir.ui.view">
<field name="name">stock.picking.out.search</field>
<field name="model">stock.picking.out</field>
<field name="inherit_id" ref="stock.view_picking_out_search"/>
<field name="arch" type="xml">
<data>
<filter name="to_invoice" position="after">
<separator orientation="vertical"/>
<filter icon="terp-emblem-documents" name="carrier_file" string="Carrier File To Generate" domain="[('carrier_file_generated', '=', False), ('carrier_id', '!=', False), ('carrier_id.carrier_file_id', '!=', False), ('state', '=', 'done')]" help="Delivery orders to invoice"/>
</filter>
</data>
</field>
</record>
</data>
</openerp>