SHARE
TWEET

Untitled

a guest May 21st, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Odoo
  2. Odoo Server Error
  3. Traceback (most recent call last):
  4.   File "/home/odoo/bin/atenas/odoo/openerp/http.py", line 539, in _handle_exception
  5.     return super(JsonRequest, self)._handle_exception(exception)
  6.   File "/home/odoo/bin/atenas/odoo/openerp/http.py", line 576, in dispatch
  7.     result = self._call_function(**self.params)
  8.   File "/home/odoo/bin/atenas/odoo/openerp/http.py", line 312, in _call_function
  9.     return checked_call(self.db, *args, **kwargs)
  10.   File "/home/odoo/bin/atenas/odoo/openerp/service/model.py", line 113, in wrapper
  11.     return f(dbname, *args, **kwargs)
  12.   File "/home/odoo/bin/atenas/odoo/openerp/http.py", line 309, in checked_call
  13.     return self.endpoint(*a, **kw)
  14.   File "/home/odoo/bin/atenas/odoo/openerp/http.py", line 814, in __call__
  15.     return self.method(*args, **kw)
  16.   File "/home/odoo/bin/atenas/odoo/openerp/http.py", line 405, in response_wrap
  17.     response = f(*args, **kw)
  18.   File "/home/odoo/bin/atenas/odoo/addons/web/controllers/main.py", line 968, in call_button
  19.     action = self._call_kw(model, method, args, {})
  20.   File "/home/odoo/bin/atenas/odoo/addons/web/controllers/main.py", line 956, in _call_kw
  21.     return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
  22.   File "/home/odoo/bin/atenas/odoo/openerp/api.py", line 241, in wrapper
  23.     return old_api(self, *args, **kwargs)
  24.   File "/home/odoo/bin/atenas/advance/addons/sale_ubiar/wizard/sale_make_invoice_advance.py", line 21, in create_invoices
  25.     res = super(sale_advance_payment_inv, self).create_invoices(cr, uid, ids, context=context)
  26.   File "/home/odoo/bin/atenas/odoo/openerp/api.py", line 241, in wrapper
  27.     return old_api(self, *args, **kwargs)
  28.   File "/home/odoo/bin/atenas/odoo/addons/sale/wizard/sale_make_invoice_advance.py", line 171, in create_invoices
  29.     res = sale_obj.manual_invoice(cr, uid, sale_ids, context)
  30.   File "/home/odoo/bin/atenas/odoo/openerp/api.py", line 241, in wrapper
  31.     return old_api(self, *args, **kwargs)
  32.   File "/home/odoo/bin/atenas/odoo/addons/sale/sale.py", line 440, in manual_invoice
  33.     self.signal_workflow(cr, uid, ids, 'manual_invoice')
  34.   File "/home/odoo/bin/atenas/odoo/openerp/api.py", line 241, in wrapper
  35.     return old_api(self, *args, **kwargs)
  36.   File "/home/odoo/bin/atenas/odoo/openerp/models.py", line 3703, in signal_workflow
  37.     result[res_id] = workflow.trg_validate(uid, self._name, res_id, signal, cr)
  38.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/__init__.py", line 85, in trg_validate
  39.     return WorkflowService.new(cr, uid, res_type, res_id).validate(signal)
  40.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/service.py", line 91, in validate
  41.     res2 = wi.validate(signal)
  42.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/instance.py", line 75, in validate
  43.     wi.process(signal=signal, force_running=force_running, stack=stack)
  44.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 120, in process
  45.     ok = self._split_test(activity['split_mode'], signal, stack)
  46.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 248, in _split_test
  47.     self._join_test(t[0], t[1], stack)
  48.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 257, in _join_test
  49.     WorkflowItem.create(self.session, self.record, activity, inst_id, stack=stack)
  50.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 95, in create
  51.     workflow_item.process(stack=stack)
  52.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 116, in process
  53.     if not self._execute(activity, stack):
  54.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 187, in _execute
  55.     id_new = self.wkf_expr_execute(activity)
  56.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 313, in wkf_expr_execute
  57.     return self.wkf_expr_eval_expr(activity['action'])
  58.   File "/home/odoo/bin/atenas/odoo/openerp/workflow/workitem.py", line 291, in wkf_expr_eval_expr
  59.     result = eval(line, env, nocopy=True)
  60.   File "/home/odoo/bin/atenas/odoo/openerp/tools/safe_eval.py", line 314, in safe_eval
  61.     return eval(c, globals_dict, locals_dict)
  62.   File "", line 1, in <module>
  63.   File "/home/odoo/bin/atenas/odoo/openerp/api.py", line 239, in wrapper
  64.     return new_api(self, *args, **kwargs)
  65.   File "/home/odoo/bin/atenas/advance/addons/sale_ubiar/sale_order.py", line 477, in action_invoice_create
  66.     ctx = context.copy()
  67. ValueError: "global name 'context' is not defined" while evaluating
  68. u'action_invoice_create()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top