Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3683 Weergaven

Hi Forum.

After creating purchases order and step next to confirm order i get error. i have already merged to bzr brunch 7.0.1.1.1 from 2014-02-28

code.launchpad.net/~camptocamp/stock-logistic-barcode/7.0-fix_shortut_imports-afe/+merge/208752

are no effect to solved this error.

    Server Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 89, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 132, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 222, in exec_workflow
    res = self.exec_workflow_cr(cr, uid, obj, signal, *args)
  File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 215, in exec_workflow_cr
    return object._workflow_signal(cr, uid, [res_id], signal)[res_id]
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 4002, in _workflow_signal
    result[res_id] = wf_service.trg_validate(uid, self._name, res_id, signal, cr)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/wkf_service.py", line 119, in trg_validate
    res2 = instance.validate(cr, id, ident, signal)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/instance.py", line 43, in validate
    workitem.process(cr, witem, ident, signal, force_running, stack=stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 60, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 175, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 183, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 40, in create
    process(cr, res, ident, stack=stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 60, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 175, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 198, in _join_test
    create(cr, [activity], inst_id, ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 40, in create
    process(cr, res, ident, stack=stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 60, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 175, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 183, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 40, in create
    process(cr, res, ident, stack=stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 52, in process
    result = _execute(cr, workitem, activity, ident, stack)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/workitem.py", line 127, in _execute
    id_new = wkf_expr.execute(cr, ident, workitem, activity)
  File "/usr/lib/pymodules/python2.7/openerp/workflow/wkf_expr.py", line 67, in execute
    return _eval_expr(cr, ident, workitem, activity['action'])
  File "/usr/lib/pymodules/python2.7/openerp/workflow/wkf_expr.py", line 57, in _eval_expr
    ret = eval(line, env, nocopy=True)
  File "/usr/lib/pymodules/python2.7/openerp/tools/safe_eval.py", line 284, in safe_eval
    return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/openerp/osv/orm.py", line 377, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/openerp/addons/purchase/purchase.py", line 706, in action_picking_create
    picking_ids.extend(self._create_pickings(cr, uid, order, order.order_line, None, context=context))
  File "/usr/lib/pymodules/python2.7/openerp/addons/purchase/purchase.py", line 686, in _create_pickings
    picking_id = self.pool.get('stock.picking').create(cr, uid, self._prepare_order_picking(cr, uid, order, context=context))
  File "/opt/sol/barcode/tr_barcode_config/barcode/barcode_osv.py", line 118, in create
    barcode_id = create_barcode(cr, uid, res, vals, self._name, context=context)
  File "/opt/sol/barcode/tr_barcode_config/barcode/barcode_osv.py", line 68, in create_barcode
    if not context.get('__copy_data_seen'):
AttributeError: 'NoneType' object has no attribute 'get'

Please help.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
sep. 25
265
0
feb. 25
1478
0
dec. 24
46
0
dec. 24
1295
1
okt. 24
2635