OE执行序列号入库时出现NameError: name 'test_serial' is not defined
-
具体错误日志如下:
OpenERP Server Error
Client Traceback (most recent call last):
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\http.py", line 204, in dispatch
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\controllers\main.py", line 1132, in call_button
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\session.py", line 42, in proxy
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\session.py", line 30, in proxy_method
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\session.py", line 103, in send
Server Traceback (most recent call last):
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\web\session.py", line 89, in send
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\netsvc.py", line 296, in dispatch_rpc
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\service\web_services.py", line 626, in dispatch
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\osv\osv.py", line 190, in execute_kw
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\osv\osv.py", line 132, in wrapper
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\osv\osv.py", line 199, in execute
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\osv\osv.py", line 187, in execute_cr
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\stock\wizard\stock_partial_picking.py", line 214, in do_partial
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\stock\stock.py", line 1370, in do_partial
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\stock\stock.py", line 909, in action_move
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server\openerp\addons\stock\stock.py", line 2437, in action_done
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\workflow\wkf_service.py", line 55, in trg_write
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\workflow\instance.py", line 52, in update
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\workflow\workitem.py", line 60, in process
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\workflow\workitem.py", line 157, in _split_test
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\workflow\wkf_expr.py", line 80, in check
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\workflow\wkf_expr.py", line 57, in _eval_expr
File "C:\SWTOOLS\OpenERP7\OpenERP 7.0-20140616-231123\Server\server.\openerp\tools\safe_eval.py", line 285, in safe_eval
File "", line 1, in <module>
NameError: name 'test_serial' is not defined