Hello, I have Odoo 8 and I am developing a module.
I want to add a new filter button in Accounting->Invoices, with this domain:
domain="[('date_invoice','<=',((context_today()-datetime.timedelta(days=10)).strftime('%Y-%m-%d'))), ('state', '=', 'open')]"
How must I define the .xml view to add the filter with this domain? I was searching and trying but I don't found the way. Thanks!