Skip to content
Snippets Groups Projects
Commit bdc4bb7e authored by Benjamin - Le Filament's avatar Benjamin - Le Filament
Browse files

[update] add refund in invoiced domain

parent d7703bfe
No related branches found
No related tags found
No related merge requests found
...@@ -231,7 +231,7 @@ odoo.define('lefilament_tdb.dashboard_year', function (require) { ...@@ -231,7 +231,7 @@ odoo.define('lefilament_tdb.dashboard_year', function (require) {
view_type: 'form', view_type: 'form',
view_mode: 'tree,form', view_mode: 'tree,form',
views: [[false, 'list'], [false, 'pivot'], [false, 'graph'], [self.invoice_view_id, 'form']], views: [[false, 'list'], [false, 'pivot'], [false, 'graph'], [self.invoice_view_id, 'form']],
domain: [['state','in',['open','paid']],['type','=','out_invoice'],['date_invoice','>=',fiscalyear]], domain: [['state','in',['open','paid']],['type','in',('out_invoice', 'out_refund')],['date_invoice','>=',fiscalyear]],
target:'current', target:'current',
name: 'Facturé', name: 'Facturé',
context: context context: context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment