[ADD] stock_landed_costs : Added the search view.

bzr revid: mdi@tinyerp.com-20140408120033-189parnuviod7z9x
This commit is contained in:
DJ Patel 2014-04-08 17:30:33 +05:30
parent d0dbdf8082
commit ea7fb6d0d2
1 changed files with 19 additions and 0 deletions

View File

@ -88,6 +88,25 @@
</field>
</record>
<!-- Stock Landed Cost Search View -->
<record id="view_stock_landed_cost_search" model="ir.ui.view">
<field name="name">stock.landed.cost.search</field>
<field name="model">stock.landed.cost</field>
<field name="arch" type="xml">
<search string="Landed Costs">
<field name="name" string="Name"/>
<field name="date"/>
<separator/>
<filter string="Draft" name="draft" domain="[('state','=','draft')]"/>
<filter string="Open" name="open" domain="[('state','=','open')]"/>
<group expand="0" string="Group By...">
<filter string="Month" context="{'group_by': 'date'}"/>
<filter string="Status" context="{'group_by': 'state'}"/>
</group>
</search>
</field>
</record>
<!-- Stock Landed Cost Action -->
<record id='action_stock_landed_cost' model='ir.actions.act_window'>
<field name="name">Landed Costs</field>