[IMP] account: introduce a second hidden "Report Dates" filter, for audit of monodate reports
This is used together with the audit features defined in account_reports (and fixed in the enterprise counterpart of this branch). closes odoo/odoo#109521 X-original-commit: 5b8686526e0faeee38cac6e2017a8f840aac041c Related: odoo/enterprise#35616 Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: Olivier Colson (oco) <oco@odoo.com>
This commit is contained in:
@@ -347,6 +347,7 @@
|
||||
<filter string="Date" name="date" date="date"/>
|
||||
<separator/>
|
||||
<filter string="Report Dates" name="date_between" domain="[('date', '>=', context.get('date_from')), ('date', '<=', context.get('date_to'))]" invisible="1"/>
|
||||
<filter string="Report Dates" name="date_before" domain="[('date', '<=', context.get('date_to'))]" invisible="1"/>
|
||||
<separator/>
|
||||
<group expand="0" string="Group By">
|
||||
<filter string="Journal Entry" name="group_by_move" domain="[]" context="{'group_by': 'move_name'}"/>
|
||||
|
||||
Reference in New Issue
Block a user