This question has been flagged
1 Reply
2727 Views

To reproduce:

In community edition

  • Install Avalara Avatax Connector

  • Do not configure, just uninstall it.

  • Create a quote

  • Convert to Sales Order

  • Generate Invoice

  • Click on Validate Invoice

 

Now Odoo complaints with the following traceback:

Odoo Server ErrorTraceback (most recent call last): File "/opt/odoo/odoo-server/openerp/http.py", line 643, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 680, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo-server/openerp/http.py", line 316, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/http.py", line 309, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo-server/openerp/http.py", line 959, in __call__ return self.method(*args, **kw) File "/opt/odoo/odoo-server/openerp/http.py", line 509, in response_wrap response = f(*args, **kw) File "/home/opt/odoo-9.0/addons/web/controllers/main.py", line 903, in exec_workflow return request.session.exec_workflow(model, id, signal) File "/opt/odoo/odoo-server/openerp/http.py", line 1267, in exec_workflow r = self.proxy('object').exec_workflow(self.db, self.uid, self.password, model, signal, id) File "/opt/odoo/odoo-server/openerp/http.py", line 1035, in proxy_method result = dispatch_rpc(self.service_name, method, args) File "/opt/odoo/odoo-server/openerp/http.py", line 114, in dispatch_rpc result = dispatch(method, params) File "/opt/odoo/odoo-server/openerp/service/model.py", line 37, in dispatch res = fn(db, uid, *params) File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/service/model.py", line 194, in exec_workflow return exec_workflow_cr(cr, uid, obj, signal, *args) File "/opt/odoo/odoo-server/openerp/service/model.py", line 188, in exec_workflow_cr return execute_cr(cr, uid, obj, 'signal_workflow', [res_id], signal)[res_id] File "/opt/odoo/odoo-server/openerp/service/model.py", line 170, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/opt/odoo/odoo-server/openerp/api.py", line 250, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/models.py", line 3617, in signal_workflow result[res_id] = workflow.trg_validate(uid, self._name, res_id, signal, cr) File "/opt/odoo/odoo-server/openerp/workflow/__init__.py", line 67, in trg_validate return WorkflowService.new(cr, uid, res_type, res_id).validate(signal) File "/opt/odoo/odoo-server/openerp/workflow/service.py", line 73, in validate res2 = wi.validate(signal) File "/opt/odoo/odoo-server/openerp/workflow/instance.py", line 62, in validate wi.process(signal=signal, force_running=force_running, stack=stack) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 102, in process ok = self._split_test(activity['split_mode'], signal, stack) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 230, in _split_test self._join_test(t[0], t[1], stack) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 239, in _join_test WorkflowItem.create(self.session, self.record, activity, inst_id, stack=stack) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 77, in create workflow_item.process(stack=stack) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 98, in process if not self._execute(activity, stack): File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 144, in _execute returned_action = self.wkf_expr_execute(activity) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 295, in wkf_expr_execute return self.wkf_expr_eval_expr(activity['action']) File "/opt/odoo/odoo-server/openerp/workflow/workitem.py", line 273, in wkf_expr_eval_expr result = eval(line, env, nocopy=True) File "/opt/odoo/odoo-server/openerp/tools/safe_eval.py", line 298, in safe_eval return eval(c, globals_dict, locals_dict) File "", line 1, in <module>ValueError: "name 'action_commit_tax' is not defined" while evaluatingu'action_commit_tax()'


Ideas? I'm out of them.


Avatar
Discard
Best Answer

Hi! I work for Avalara. Sorry you experienced this issue with the AvaTax Connector. We'd like to help you get to the bottom of this, and have already started investigating. Can you tell us which version of Odoo are you using?

Avatar
Discard