1
<?xml version="1.0" encoding="UTF-8"?>
5
<record id="view_picking_out_tree" model="ir.ui.view">
6
<field name="name">stock.picking.out.tree</field>
7
<field name="model">stock.picking</field>
8
<field name="type">tree</field>
9
<field name="inherit_id" ref="stock.view_picking_out_tree" />
10
<field name="arch" type="xml">
14
<tree position="attributes">
15
<attribute name="colors">green:delivered==True;blue:state in ('draft');grey:state in ('cancel');red:state not in ('cancel', 'done') and date < current_date</attribute>
19
<field name="state" position="replace">
20
<field name="state" invisible="True" />
21
<field name="delivered" invisible="True" />
22
<field name="state_hidden" />
30
<record id="view_picking_out_search" model="ir.ui.view">
31
<field name="name">stock.picking.out.search</field>
32
<field name="model">stock.picking</field>
33
<field name="type">search</field>
34
<field name="inherit_id" ref="stock.view_picking_out_search" />
35
<field name="arch" type="xml">
38
<filter name="done" position="replace">
39
<!-- <separator orientation="vertical"/> -->
40
<filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state','=','done'), ('delivered', '=', False)]" help="Delivery orders already processed"/>
41
<filter icon="gtk-yes" name="delivered" string="Delivered" domain="[('state', '=', 'done'), ('delivered', '=', True)]" help="Delivered Delivery Orders" />
42
<!-- <filter icon="gtk-no" name="not_delivered" string="Not Delivered" domain="[('state', '=', 'done'), ('delivered', '=', False)]" help="Not Delivered Delivery Orders" /> -->
43
<separator orientation="vertical"/>
b'\\ No newline at end of file'