[FIX] Stock : Internal location domain corrected

lp bug: https://launchpad.net/bugs/618333 fixed

bzr revid: jvo@tinyerp.com-20100817060905-kgpadfyrvboy6y8k
This commit is contained in:
JMA(OpenERP)
2010-08-17 11:39:05 +05:30
committed by Jay (OpenERP)
parent 82048605c4
commit 68841dc860
+4 -3
View File
@@ -400,11 +400,11 @@
<field name="arch" type="xml">
<search string="Stock Locations">
<filter icon="terp-go-home" name="in_location"
string="Internal" domain="[('location_id.usage', '=', 'internal')]" help="Internal Locations" />
string="Internal" domain="[('usage', '=', 'internal')]" help="Internal Locations" />
<filter icon="terp-go-home" name="customer"
string="Customer" domain="[('location_id.usage', '=', 'customer')]" help="Customer Locations" />
string="Customer" domain="[('usage', '=', 'customer')]" help="Customer Locations" />
<filter icon="terp-go-home" name="supplier"
string="Supplier" domain="[('location_id.usage', '=', 'supplier')]" help="Supplier Locations" />
string="Supplier" domain="[('usage', '=', 'supplier')]" help="Supplier Locations" />
<separator orientation="vertical"/>
<field name="name"/>
</search>
@@ -433,6 +433,7 @@
<field name="type">ir.actions.act_window</field>
<field name="view_type">form</field>
<field name="view_id" ref="view_location_tree2"/>
<field name="search_view_id" ref="view_location_search"/>
<field name="context">{'full':1, 'search_default_in_location':1}</field>
</record>
<menuitem action="action_location_form" id="menu_action_location_form" parent="menu_warehouse_config" groups="base.group_system"/>