~vauxoo/addons-vauxoo/6.0-trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version='1.0' encoding='utf-8'?>
<openerp>
    <data>

        <record id="product_date_search_form_view_stock" model="ir.ui.view">
            <field name="name">product.date.search.stock.form</field>
            <field name="model">product.product</field>
            <field name="inherit_id" ref="product.product_search_form_view"/>
            <field name="arch" type="xml">
                   <field name="pricelist_id" position="after">
                        <field name="date_from_to" widget="date" context="{'from_date':self, 'to_date':self2}"/>
                   </field>
            </field>
        </record>


    </data>
</openerp>