mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] account_banking_mandate: Display mandate_id field in the form view of account.payment.line with the same condition as the tree view.
TT45405
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<field
|
||||
name="mandate_id"
|
||||
domain="[('partner_bank_id', '=', partner_bank_id), ('state', '=', 'valid')]"
|
||||
attrs="{'invisible': [('mandate_required', '=', False)], 'required': [('mandate_required', '=', True)]}"
|
||||
attrs="{'invisible': [('payment_type', '!=', 'inbound')], 'required': [('mandate_required', '=', True)]}"
|
||||
context="{'default_partner_bank_id': partner_bank_id}"
|
||||
/>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user