Client Traceback (most recent call last):
File "/app/parts/odoo/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, *self.params)
File "/app/parts/odoo/addons/web/controllers/main.py", line 1137, in call_button
action = self._call_kw(req, model, method, args, {})
File "/app/parts/odoo/addons/web/controllers/main.py", line 1125, in _call_kw
return getattr(req.session.model(model), method)(args, *kwargs)
File "/app/parts/odoo/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/app/parts/odoo/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, args)
File "/app/parts/odoo/addons/web/session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/app/parts/odoo/addons/web/session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/app/parts/odoo/openerp/netsvc.py", line 306, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/app/parts/odoo/openerp/service/web_services.py", line 632, in dispatch
res = fn(db, uid, params)
File "/app/parts/odoo/openerp/osv/osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, args, kw or {})
File "/app/parts/odoo/openerp/osv/osv.py", line 132, in wrapper
return f(self, dbname, *args, *kwargs)
File "/app/parts/odoo/openerp/osv/osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, args, kw)
File "/app/parts/odoo/openerp/osv/osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, *kw)
File "/app/parts/odoo/addons/sale/wizard/sale_make_invoice_advance.py", line 174, in create_invoices
res = sale_obj.manual_invoice(cr, uid, sale_ids, context)
File "/app/parts/odoo/addons/sale/sale.py", line 436, in manual_invoice
wf_service.trg_validate(uid, 'sale.order', id, 'manual_invoice', cr)
File "/app/parts/odoo/openerp/workflow/wkf_service.py", line 119, in trg_validate
res2 = instance.validate(cr, id, ident, signal)
File "/app/parts/odoo/openerp/workflow/instance.py", line 48, in validate
workitem.process(cr, witem, ident, signal, force_running, stack=stack)
File "/app/parts/odoo/openerp/workflow/workitem.py", line 60, in process
ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
File "/app/parts/odoo/openerp/workflow/workitem.py", line 175, in _split_test
_join_test(cr, t[0], t[1], ident, stack)
File "/app/parts/odoo/openerp/workflow/workitem.py", line 183, in _join_test
create(cr,[activity], inst_id, ident, stack)
File "/app/parts/odoo/openerp/workflow/workitem.py", line 40, in create
process(cr, res, ident, stack=stack)
File "/app/parts/odoo/openerp/workflow/workitem.py", line 52, in process
result = _execute(cr, workitem, activity, ident, stack)
File "/app/parts/odoo/openerp/workflow/workitem.py", line 127, in _execute
id_new = wkf_expr.execute(cr, ident, workitem, activity)
File "/app/parts/odoo/openerp/workflow/wkf_expr.py", line 67, in execute
return _eval_expr(cr, ident, workitem, activity['action'])
File "/app/parts/odoo/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
ret = eval(line, env, nocopy=True)
File "/app/parts/odoo/openerp/tools/safe_eval.py", line 288, in safe_eval
return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
File "", line 1, in
File "/app/parts/odoo/openerp/osv/orm.py", line 380, in function_proxy
return attr(self._cr, self._uid, [self._id], args, **kwargs)
File "/app/jenck/sales_processing/sale_order.py", line 26, in action_invoice_create
return super(sale_order, self).action_invoice_create(cr, uid, ids, grouped, states, date_invoice, context)
File "/app/parts/odoo/addons/sale_stock/sale_stock.py", line 193, in action_invoice_create
res = super(sale_order,self).action_invoice_create( cr, uid, ids, grouped=grouped, states=states, date_invoice = date_invoice, context=context)
File "/app/parts/odoo/addons/sale/sale.py", line 541, in action_invoice_create
res = self._make_invoice(cr, uid, order, il, context=context)
File "/app/l10n_ar/l10n_ar_perceptions/sale.py", line 40, in _make_invoice
invoice_id = super(sale_order, self)._make_invoice(cr, uid, order, lines, context)
File "/app/l10n_ar/l10n_ar_invoice_currency/invoice.py", line 373, in _make_invoice
invoice_id = super(sale_order, self)._make_invoice(cr, uid, order, lines, context=context)
File "/app/l10n-argentina/l10n_ar_point_of_sale/sale.py", line 64, in _make_invoice
pos_ar_id = self._get_pos_ar(cr, uid, order, denom_id.id, context=context)
AttributeError: 'NoneType' object has no attribute 'id'
Client Traceback (most recent call last): File "/app/parts/odoo/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/app/parts/odoo/addons/web/controllers/main.py", line 1137, in call_button action = self._call_kw(req, model, method, args, {}) File "/app/parts/odoo/addons/web/controllers/main.py", line 1125, in _call_kw return getattr(req.session.model(model), method)(args, *kwargs) File "/app/parts/odoo/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/app/parts/odoo/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, args) File "/app/parts/odoo/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last): File "/app/parts/odoo/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/app/parts/odoo/openerp/netsvc.py", line 306, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/app/parts/odoo/openerp/service/web_services.py", line 632, in dispatch res = fn(db, uid, params) File "/app/parts/odoo/openerp/osv/osv.py", line 190, in execute_kw return self.execute(db, uid, obj, method, args, kw or {}) File "/app/parts/odoo/openerp/osv/osv.py", line 132, in wrapper return f(self, dbname, *args, *kwargs) File "/app/parts/odoo/openerp/osv/osv.py", line 199, in execute res = self.execute_cr(cr, uid, obj, method, args, kw) File "/app/parts/odoo/openerp/osv/osv.py", line 187, in execute_cr return getattr(object, method)(cr, uid, *args, *kw) File "/app/parts/odoo/addons/sale/wizard/sale_make_invoice_advance.py", line 174, in create_invoices res = sale_obj.manual_invoice(cr, uid, sale_ids, context) File "/app/parts/odoo/addons/sale/sale.py", line 436, in manual_invoice wf_service.trg_validate(uid, 'sale.order', id, 'manual_invoice', cr) File "/app/parts/odoo/openerp/workflow/wkf_service.py", line 119, in trg_validate res2 = instance.validate(cr, id, ident, signal) File "/app/parts/odoo/openerp/workflow/instance.py", line 48, in validate workitem.process(cr, witem, ident, signal, force_running, stack=stack) File "/app/parts/odoo/openerp/workflow/workitem.py", line 60, in process ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack) File "/app/parts/odoo/openerp/workflow/workitem.py", line 175, in _split_test _join_test(cr, t[0], t[1], ident, stack) File "/app/parts/odoo/openerp/workflow/workitem.py", line 183, in _join_test create(cr,[activity], inst_id, ident, stack) File "/app/parts/odoo/openerp/workflow/workitem.py", line 40, in create process(cr, res, ident, stack=stack) File "/app/parts/odoo/openerp/workflow/workitem.py", line 52, in process result = _execute(cr, workitem, activity, ident, stack) File "/app/parts/odoo/openerp/workflow/workitem.py", line 127, in _execute id_new = wkf_expr.execute(cr, ident, workitem, activity) File "/app/parts/odoo/openerp/workflow/wkf_expr.py", line 67, in execute return _eval_expr(cr, ident, workitem, activity['action']) File "/app/parts/odoo/openerp/workflow/wkf_expr.py", line 57, in _eval_expr ret = eval(line, env, nocopy=True) File "/app/parts/odoo/openerp/tools/safe_eval.py", line 288, in safe_eval return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict) File "", line 1, in
File "/app/parts/odoo/openerp/osv/orm.py", line 380, in function_proxy
return attr(self._cr, self._uid, [self._id], args, **kwargs)
File "/app/jenck/sales_processing/sale_order.py", line 26, in action_invoice_create
return super(sale_order, self).action_invoice_create(cr, uid, ids, grouped, states, date_invoice, context)
File "/app/parts/odoo/addons/sale_stock/sale_stock.py", line 193, in action_invoice_create
res = super(sale_order,self).action_invoice_create( cr, uid, ids, grouped=grouped, states=states, date_invoice = date_invoice, context=context)
File "/app/parts/odoo/addons/sale/sale.py", line 541, in action_invoice_create
res = self._make_invoice(cr, uid, order, il, context=context)
File "/app/l10n_ar/l10n_ar_perceptions/sale.py", line 40, in _make_invoice
invoice_id = super(sale_order, self)._make_invoice(cr, uid, order, lines, context)
File "/app/l10n_ar/l10n_ar_invoice_currency/invoice.py", line 373, in _make_invoice
invoice_id = super(sale_order, self)._make_invoice(cr, uid, order, lines, context=context)
File "/app/l10n-argentina/l10n_ar_point_of_sale/sale.py", line 64, in _make_invoice
pos_ar_id = self._get_pos_ar(cr, uid, order, denom_id.id, context=context)
AttributeError: 'NoneType' object has no attribute 'id'