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