This question has been flagged
1 Reply
2280 Views

if self.filter_operating_unit_ids:

 sub_subquery_sum_amounts += 

""" INNER JOIN operating_unit ou 

ON ml.operating_unit_id = ou.id AND ou.id 

IN %s """

what is %s for ? 

Error is 


File "/home/usman/Documents/odoo12/odoo/odoo/sql_db.py", line 148, in wrapper
    return f(self, *args, **kwargs)
  File "/home/usman/Documents/odoo12/odoo/odoo/sql_db.py", line 225, in execute
    res = self._obj.execute(query, params)
IndexError: tuple index out of range
Avatar
Discard
Best Answer

Hi,

which report should you insert the column exactly?

Avatar
Discard
Author

General ledger want to add operating unit wise