~eduardo-bayardo-bias/openobject-addons/addons_interface

« back to all changes in this revision

Viewing changes to bias_custom_cycna/command_batch_interface/stock_view.xml

  • Committer: Eduardo Bayardo
  • Date: 2017-08-15 21:49:35 UTC
  • Revision ID: eduardo.bayardo@bias.com.mx-20170815214935-94uhog6hvq6em5mj
set correct date at sale order validation (sock.move, stock.picking)... Create Invoice defaults from pickings

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
            <field name="inherit_id" ref="stock.view_picking_out_search" />
43
43
            <field name="type">search</field>
44
44
            <field name="arch" type="xml">
 
45
                <field name="company_id" position="replace">
 
46
                </field>
45
47
                <field name="stock_journal_id" position="replace">
 
48
                </field>
 
49
                <xpath expr="//filter[@string='Expected Date']" position="after">
46
50
                    <field name="note"/>
47
 
                </field>
 
51
                </xpath>
 
52
                <filter name="to_invoice" position="after">
 
53
                    <separator orientation="vertical"/>
 
54
                    <filter icon="terp-go-today" string="Ayer" name="yesterday" 
 
55
                            domain="[('min_date','&gt;=',(datetime.datetime.now()+ datetime.timedelta(days=-1)).strftime('%%Y-%%m-%%d 00:00:00')),('min_date','&lt;=',(datetime.datetime.now()+ datetime.timedelta(days=0)).strftime('%%Y-%%m-%%d 00:00:00'))]"/>
 
56
                    <filter icon="terp-go-today" string="&gt;= Hoy" name="tomorrow"
 
57
                            domain="[('min_date','&gt;=',(datetime.datetime.now()+ datetime.timedelta(days=0)).strftime('%%Y-%%m-%%d 00:00:00'))]"/>
 
58
                </filter>
 
59
 
48
60
            </field>
49
61
        </record>
50
62