← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 664053] Re: POS Module, crash when pay

 

Hello,

It looks like you have removed the Customer Location property for a
customer. And the unavailability causes such a traceback.

Thanks.

** Changed in: openobject-addons
       Status: New => Invalid

-- 
POS Module, crash when pay
https://bugs.launchpad.net/bugs/664053
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Invalid

Bug description:
Hi,

This occurs when i was trying to pay in Point of Sales, version 5.15 
Regards 

Luis Tobar R. 


[2010-10-20 14:28:23,646][transtel] ERROR:web-services:[01]: 
[2010-10-20 14:28:23,646][transtel] ERROR:web-services:[02]: Environment Information : 
[2010-10-20 14:28:23,646][transtel] ERROR:web-services:[03]: System : Linux-2.6.26-2-xen-686-i686-with-debian-squeeze-sid
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[04]: OS Name : posix
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[05]: Distributor ID:	Debian
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[06]: Description:	Debian GNU/Linux unstable (sid)
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[07]: Release:	unstable
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[08]: Codename:	sid
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[09]: Operating System Release : 2.6.26-2-xen-686
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[10]: Operating System Version : #1 SMP Fri Sep 17 00:54:08 UTC 2010
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[11]: Operating System Architecture : 32bit
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[12]: Operating System Locale : es_CL.UTF8
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[13]: Python Version : 2.6.6
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[14]: OpenERP-Server Version : 5.0.15
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[15]: Last revision No. & ID : 
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[16]: Exception in call: Traceback (most recent call last):
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[17]:   File "/home/terp/openerp-server-5.0.15/bin/wizard/__init__.py", line 73, in execute_cr
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[18]:     action_res = action(self, cr, uid, data, context)
[2010-10-20 14:28:23,650][transtel] ERROR:web-services:[19]:   File "/home/terp/openerp-server-5.0.15/bin/addons/point_of_sale/wizard/wizard_pos_payment.py", line 123, in _add_pay
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[20]:     order_obj.add_payment(cr, uid, data['id'], result, context=context)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[21]:   File "/home/terp/openerp-server-5.0.15/bin/addons/point_of_sale/pos.py", line 446, in add_payment
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[22]:     wf_service.trg_validate(uid, 'pos.order', order_id, 'paid', cr)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[23]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/wkf_service.py", line 81, in trg_validate
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[24]:     res2 = instance.validate(cr, id, ident, signal)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[25]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/instance.py", line 50, in validate
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[26]:     workitem.process(cr, witem, ident, signal, force_running, stack=stack)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[27]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/workitem.py", line 62, in process
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[28]:     ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[29]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/workitem.py", line 175, in _split_test
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[30]:     _join_test(cr, t[0], t[1], ident, stack)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[31]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/workitem.py", line 183, in _join_test
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[32]:     create(cr,[activity], inst_id, ident, stack)
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[33]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/workitem.py", line 42, in create
[2010-10-20 14:28:23,654][transtel] ERROR:web-services:[34]:     process(cr, res, ident, stack=stack)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[35]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/workitem.py", line 54, in process
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[36]:     result = _execute(cr, workitem, activity, ident, stack)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[37]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/workitem.py", line 108, in _execute
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[38]:     wkf_expr.execute(cr, ident, workitem, activity)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[39]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/wkf_expr.py", line 69, in execute
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[40]:     return _eval_expr(cr, ident, workitem, activity['action'])
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[41]:   File "/home/terp/openerp-server-5.0.15/bin/workflow/wkf_expr.py", line 59, in _eval_expr
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[42]:     ret = eval(line, env, nocopy=True)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[43]:   File "/home/terp/openerp-server-5.0.15/bin/tools/safe_eval.py", line 270, in safe_eval
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[44]:     return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[45]:   File "", line 1, in <module>
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[46]:   File "/home/terp/openerp-server-5.0.15/bin/osv/orm.py", line 168, in <lambda>
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[47]:     return lambda *args, **argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args, **argv)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[48]:   File "/home/terp/openerp-server-5.0.15/bin/addons/point_of_sale/pos.py", line 774, in action_paid
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[49]:     self.create_picking(cr, uid, ids, context=context)
[2010-10-20 14:28:23,658][transtel] ERROR:web-services:[50]:   File "/home/terp/openerp-server-5.0.15/bin/addons/point_of_sale/pos.py", line 347, in create_picking
[2010-10-20 14:28:23,662][transtel] ERROR:web-services:[51]:     stock_dest_id = int(val.split(',')[1])
[2010-10-20 14:28:23,662][transtel] ERROR:web-services:[52]: AttributeError: 'bool' object has no attribute 'split'
/home/terp/openerp-server-5.0.15/bin/tools/misc.py:750: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  if hasattr(e, 'message'):
/home/terp/openerp-server-5.0.15/bin/tools/misc.py:751: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  return ustr(e.message)





References