[FIX] account: filter due date
The filter was considering the Accounting date, which has nothing to do with the due date. Part-of: odoo/odoo#141457
This commit is contained in:
@@ -435,7 +435,7 @@
|
||||
<filter string="Purchases" name="purchases" domain="[('journal_id.type', '=', 'purchase')]" context="{'default_journal_type': 'purchase'}"/>
|
||||
<separator/>
|
||||
<filter string="Invoice Date" name="invoice_date" date="invoice_date"/>
|
||||
<filter string="Due Date" name="date_maturity" date="date"/>
|
||||
<filter string="Due Date" name="payment_date" date="payment_date"/>
|
||||
<filter string="Overdue" name="late" domain="[('date_maturity', '<', time.strftime('%Y-%m-%d'))]" help="Overdue payments, due date passed"/>
|
||||
<separator/>
|
||||
<filter string="Report Dates" name="date_between" domain="[('date', '>=', context.get('date_from')), ('date', '<=', context.get('date_to'))]" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user