[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:
parent
b9a1104e48
commit
a741e8df8e
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue