[IMP] stock_landed_costs : Product with 'Can constitute a landed cost' is set to True can only be selected in cost lines.

bzr revid: mdi@tinyerp.com-20140421092427-r5jq6ppy40rarjiw
This commit is contained in:
DJ Patel 2014-04-21 14:54:27 +05:30
parent b9a1104e48
commit a741e8df8e
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@
<group>
<group>
<field name="product_id"
on_change="onchange_product_id(product_id)"/>
on_change="onchange_product_id(product_id)" domain="[('landed_cost_ok', '=', True)]"/>
<field name="price_unit"/>
</group>
<group>
@ -48,7 +48,7 @@
<field name="name"/>
</form>
<tree string="Cost Lines" editable="bottom">
<field name="product_id" on_change="onchange_product_id(product_id)"/>
<field name="product_id" on_change="onchange_product_id(product_id)" domain="[('landed_cost_ok', '=', True)]"/>
<field name="name"/>
<field name="account_id"/>
<field name="split_method"/>