[FIX] account: fix the label for due date
The label for due date was targeting invoice_payment_term_id instead of due date, thus not profiting from the readonly rules and being muted when it should not. closes odoo/odoo#103344 X-original-commit: 9da25683e918838609ffdac87c979f883d11d027 Signed-off-by: Quentin De Paoli <qdp@odoo.com> Signed-off-by: Nicolas Viseur <vin@odoo.com>
This commit is contained in:
@@ -811,7 +811,7 @@
|
||||
|
||||
<!-- Invoice payment terms (only invoices) + due date (only invoices / receipts) -->
|
||||
<div class="o_td_label" attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}">
|
||||
<label for="invoice_payment_term_id" string="Due Date"
|
||||
<label for="invoice_date_due" string="Due Date"
|
||||
attrs="{'invisible': [('invoice_payment_term_id', '!=', False)]}"/>
|
||||
<label for="invoice_payment_term_id" string="Payment terms"
|
||||
attrs="{'invisible': [('invoice_payment_term_id', '=', False)]}"/>
|
||||
|
||||
Reference in New Issue
Block a user