|
@@ -204,7 +204,7 @@ function report_sale_utility_vendor(reporting){
|
|
|
====================================================================*/
|
|
|
fetchAccountJournal: function(){
|
|
|
var self = this;
|
|
|
- var domain = [['active','=',true],['type','=','sale']];
|
|
|
+ var domain = [['active','=',true],['type','in',['sale','sale_refund']]];
|
|
|
var AccountJournal = new model.web.Model('account.journal');
|
|
|
return AccountJournal.call('getAccountJournal',[domain], {
|
|
|
context: new model.web.CompoundContext()
|
|
@@ -281,7 +281,7 @@ function report_sale_utility_vendor(reporting){
|
|
|
|
|
|
var domain = [
|
|
|
['state', 'in',['open','paid']],
|
|
|
- ['type', '=', 'out_invoice'],
|
|
|
+ ['type', 'in', ['out_invoice','out_refund']],
|
|
|
['journal_id','in',journal_ids],
|
|
|
];
|
|
|
|