Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch master 9: IndexError: tuple index out of range and POS solution in master version #73

Closed
Develoman opened this issue Mar 2, 2016 · 1 comment

Comments

@Develoman
Copy link

Hi @yelizariev ,
i get this Error!

  File "/odoo/custom/addons/pos_debt_notebook/models.py", line 28, in _get_debt
    res = {}
  File "/odoo/odoo-server/openerp/sql_db.py", line 139, in wrapper
    return f(self, *args, **kwargs)
  File "/odoo/odoo-server/openerp/sql_db.py", line 218, in execute
    res = self._obj.execute(query, params)
IndexError: tuple index out of range

=> (debt_account.id, tuple(self.ids)))

I need only this module and i will adapt it with the new version POS, i have a smart idea.

@Develoman
Copy link
Author

it's OK and the idea is that i use the field "change" like a credit of the customer (without returning money to the customer)

and the customer's debit in an other line with new payement method "Debt Journal"

@Develoman Develoman changed the title Branch master 9: IndexError: tuple index out of range Branch master 9: IndexError: tuple index out of range and POS solution in master version Mar 2, 2016
gaelTorrecillas pushed a commit to gaelTorrecillas/pos-addons that referenced this issue Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant