[FIX] agreement_legal: Change partner_id domain in agreement view

Previous this commit users can't select a vendor in the agreement
form, this is not the behaviour described in the help. This
commit changes the domain to allow select a vendor.
This commit is contained in:
Alexandre Díaz
2020-02-18 14:17:09 +01:00
parent 8533fd3b01
commit d30255a93d

View File

@@ -102,7 +102,7 @@
string="Partner">
<div class="o_address_format">
<field name="partner_id"
domain="[('customer', '=', True)]"
domain="['|',('customer', '=', True),('supplier', '=', True)]"
context="{'show_address': 1}"
options="{&quot;always_reload&quot;: True}"/>
</div>