This question has been flagged
5623 Views

Get this error when trying to deliver some goods from stock.

Please help me out...

The full error is:


OpenERP Server Error

Client Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch

response["result"] = method(self, **self.params)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1132, in call_button

action = self._call_kw(req, model, method, args, {})

File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1120, in _call_kw

return getattr(req.session.model(model), method)(*args, **kwargs)

File "/usr/lib/pymodules/python2.7/openerp/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 "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method

result = self.session.send(self.service_name, method, *args)

File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 103, in send

raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

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 190, in execute_kw

return self.execute(db, uid, obj, method, *args, **kw or {})

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 199, in execute

res = self.execute_cr(cr, uid, obj, method, *args, **kw)

File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 187, in execute_cr

return getattr(object, method)(cr, uid, *args, **kw)

File "/usr/lib/pymodules/python2.7/openerp/addons/stock/wizard/stock_partial_picking.py", line 214, in do_partial

stock_picking.do_partial(cr, uid, [partial.picking_id.id], partial_data, context=context)

File "/usr/lib/pymodules/python2.7/openerp/addons/stock/stock.py", line 1370, in do_partial

self.action_move(cr, uid, [pick.id], context=context)

File "/usr/lib/pymodules/python2.7/openerp/addons/stock/stock.py", line 909, in action_move

context=context)

File "/usr/lib/pymodules/python2.7/openerp/addons/product_serial_mandatory/stock.py", line 36, in action_done

return super(stock_move, self).action_done(cr, uid, ids, context=context)

File "/usr/lib/pymodules/python2.7/openerp/addons/product_serial/stock.py", line 111, in action_done

result = super(stock_move, self).action_done(cr, uid, ids, context)

File "/usr/lib/pymodules/python2.7/openerp/addons/stock/stock.py", line 2437, in action_done

wf_service.trg_write(uid, 'stock.picking', pick_id, cr)

File "/usr/lib/pymodules/python2.7/openerp/workflow/wkf_service.py", line 55, in trg_write

instance.update(cr, id, ident)

File "/usr/lib/pymodules/python2.7/openerp/workflow/instance.py", line 52, in update

workitem.process(cr, witem, 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 157, in _split_test

if wkf_expr.check(cr, workitem, ident, transition,signal):

File "/usr/lib/pymodules/python2.7/openerp/workflow/wkf_expr.py", line 80, in check

return _eval_expr(cr, ident, workitem, transition['condition'])

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 285, in safe_eval

return eval(test_expr(expr, _SAFE_OPCODES, mode=mode), globals_dict, locals_dict)

File "", line 1, in <module>

NameError: name 'test_serial' is not defined

Avatar
Discard

Hi, which version ?, did you add this field ?

Hi Ahmed,

 

We had more problems in our database this morning so we restored the backup we made last night. Problem seems to be solved right now.

 

Thanks for the fast reply!

 


Kind regards,
Marcel Vierhuis
Manager

BRControls Products BV
Telfordstraat 47
8013 RL Zwolle
The Netherlands
Tel:    +3138 460 42 40
Mob: +3161 299 74 89
Fax:   +3138 460 73 87
www.brcontrols.com
m.vierhuis@brcontrols.com

<img border="0" width="200" height="110" id="Afbeelding_x0020_2" src="cid:image001.png@01D0624A.483D4020" alt="cid:image001.png@01CDB5EC.CC732560">

<img border="0" width="25" height="25" id="Afbeelding_x0020_3" src="cid:image002.gif@01D0624A.483D4020" alt="cid:image002.gif@01CDB5EC.CC732560"> Think about the environment before printing this email!


Dit bericht (inclusief de bijlagen) kan vertrouwelijk zijn. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht de afzender te informeren en het bericht te wissen. Het is niet toegestaan om dit bericht, geheel of gedeeltelijk, zonder toestemming te gebruiken of te verspreiden. BRControls Products BV sluit elke aansprakelijkheid uit wanneer informatie in deze e-mail niet correct, onvolledig of het niet tijdig overkomt, evenals indien er schade ontstaat ten gevolge van deze e-mail. BRControls Products BV garandeert niet dat het bericht vrij kan zijn van onderschepping of manipulatie daarvan door derden of computerprogramma’s die worden gebruikt voor elektronische berichten en het overbrengen van virussen.


 

Van: Ahmed M.Elmubarak [mailto:minmi9x-gmail.com@mail.odoo.com]
Verzonden: donderdag 19 maart 2015 13:27
Aan: Marcel Vierhuis
Onderwerp: Re: NameError: name 'test_serial' is not defined

 

Hi, which version ?, did you add this field ?

--
Ahmed M.Elmubarak
Sent by Odoo Inc. using Odoo about Forum Post NameError: name 'test_serial' is not defined