[IMP] account: warn when invoice date is future
Before this task, There was no warning message when invoice date is set in future. task-2053068 closes odoo/odoo#35796 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
@@ -599,7 +599,7 @@
|
||||
<label for="invoice_date" string="Bill Date" style="font-weight:bold;"
|
||||
attrs="{'invisible': [('type', 'not in', ('in_invoice', 'in_refund', 'in_receipt'))]}"/>
|
||||
</div>
|
||||
<field name="invoice_date" nolabel="1"
|
||||
<field name="invoice_date" nolabel="1" options="{'datepicker': {'warn_future': true}}"
|
||||
attrs="{'invisible': [('type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))]}"/>
|
||||
|
||||
<field name="currency_id"
|
||||
|
||||
Reference in New Issue
Block a user