~vauxoo/addons-vauxoo/7.0-user_story_fix1-kty

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" context="{'from_date' : self}"  widget="date" string='Date From'/>
                    <field name="date_to" context="{'to_date' : self}"  widget="date" string='Date To'/>
                </field>
            </field>
        </record>

    </data>
</openerp>