Skip to content
This repository has been archived by the owner on Apr 11, 2020. It is now read-only.

Issue with Sales discount App - Odoo 9 #1065

NeerajaRagesh opened this issue Jan 23, 2018 · 1 comment

Issue with Sales discount App - Odoo 9 #1065

NeerajaRagesh opened this issue Jan 23, 2018 · 1 comment


Copy link

I installed sales discount on total in sales order. While creating invoice am getting the below error
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/", line 638, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python2.7/dist-packages/odoo/", line 675, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python2.7/dist-packages/odoo/", line 331, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/service/", line 119, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/", line 324, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/", line 933, in call
return self.method(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/", line 504, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/", line 878, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/", line 870, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/", line 681, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/", line 672, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/odoo/", line 5469, in onchange
record._onchange_eval(name, field_onchange[name], result)
File "/usr/lib/python2.7/dist-packages/odoo/", line 5367, in _onchange_eval
method_res = method(self)
File "/usr/lib/python2.7/dist-packages/odoo/addons/account/models/", line 456, in _onchange_invoice_line_ids
taxes_grouped = self.get_taxes_values()
File "/usr/lib/python2.7/dist-packages/odoo/addons/account/models/", line 635, in get_taxes_values
val = self._prepare_tax_line_vals(line, tax)
File "/usr/lib/python2.7/dist-packages/odoo/addons/account/models/", line 612, in _prepare_tax_line_vals
'base': tax['base'],
KeyError: 'base'

please give any solution

Copy link

To report new issues, use the Report a Problem tool. The GitHub Issue Tracker for the aspnet/Tooling repo is now deprecated in favor of the Report a Problem tool.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks. See here for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

No branches or pull requests

2 participants