Browse Source

[ADD] Add new domain

pull/66/head
nicolasjamoulle 6 years ago
parent
commit
43cf617479
  1. 2
      beesdoo_purchase/views/purchase_order.xml

2
beesdoo_purchase/views/purchase_order.xml

@ -9,7 +9,7 @@
<field name="create_uid"/>
</field>
<field name="product_id" position="attributes">
<attribute name="domain">[('main_seller_id','=', parent.partner_id)]</attribute>
<attribute name="domain">[('main_seller_id','=', parent.partner_id), ('purchase_ok', '=', True)]</attribute>
</field>
</field>
</record>

Loading…
Cancel
Save