[FIX] account_payment_partner: fetchPreloadedData bug using selection widget

This commit is contained in:
Luis J. Salvatierra
2023-07-26 16:44:57 +02:00
parent 35e5de1dde
commit 3e10ad2102

View File

@@ -15,7 +15,6 @@
<field name="reconciled" invisible="1" />
<field
name="payment_mode_id"
widget="selection"
force_save="1"
attrs="{'invisible': [('account_type', 'not in', ['asset_receivable', 'liability_payable'])], 'readonly': ['|', ('account_type', 'not in', ['asset_receivable', 'liability_payable']), ('reconciled', '=', True)]}"
/>
@@ -34,7 +33,6 @@
<field
name="payment_mode_id"
optional="hide"
widget="selection"
force_save="1"
attrs="{'invisible': [('account_type', 'not in', ['asset_receivable', 'liability_payable'])], 'readonly': ['|', ('account_type', 'not in', ['asset_receivable', 'liability_payable']), ('reconciled', '=', True)]}"
/>