mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] account_payment_order: Prevent Payment Date from being defined in transactions to avoid confusion.
It is appropriate not to allow Payment Date to be defined in the transactions because the 'Confirm Payments' process will re-define
This commit is contained in:
@@ -17,7 +17,12 @@
|
||||
domain="[('reconciled','=', False), ('account_id.reconcile', '=', True)] "
|
||||
/>
|
||||
<!-- we removed the filter on amount_to_pay, because we want to be able to select refunds -->
|
||||
<field name="date" />
|
||||
<field name="state" invisible="1" />
|
||||
<field
|
||||
name="date"
|
||||
attrs="{'readonly': [('state', '!=', 'confirmed')]}"
|
||||
force_save="1"
|
||||
/>
|
||||
<field name="ml_maturity_date" readonly="1" />
|
||||
<field name="amount_currency" />
|
||||
<field name="currency_id" />
|
||||
|
||||
Reference in New Issue
Block a user