mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[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:
@@ -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="{"always_reload": True}"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user