Browse Source

[ADD] Add new domain

pull/114/head
nicolasjamoulle 6 years ago
committed by Rémy Taymans
parent
commit
a472b58e66
  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