** Changed in: openerp-argentina Status: New => In Progress -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/723969
Title: Error en la apertura facturas al obtener prefix del sequence (lp :~cristian-rocha/openerp-argentina/trunk) Status in OpenERP Localization for Argentina: In Progress Bug description: Una vez instalado el módulo 'l10n_chart_ar_generic' (lp:~cristian- rocha/openerp-argentina/trunk) al abrir facturas se presenta el siguiente error : ERROR:web-services:[01]: ERROR:web-services:[02]: Environment Information : ERROR:web-services:[03]: System : Linux-2.6.32-28-generic-i686-with-Ubuntu-10.04-lucid ERROR:web-services:[04]: OS Name : posix ERROR:web-services:[05]: Distributor ID: Ubuntu ERROR:web-services:[06]: Description: Ubuntu 10.04.2 LTS ERROR:web-services:[07]: Release: 10.04 ERROR:web-services:[08]: Codename: lucid ERROR:web-services:[09]: Operating System Release : 2.6.32-28-generic ERROR:web-services:[10]: Operating System Version : #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 ERROR:web-services:[11]: Operating System Architecture : 32bit ERROR:web-services:[12]: Operating System Locale : es_AR.UTF8 ERROR:web-services:[13]: Python Version : 2.6.5 ERROR:web-services:[14]: OpenERP-Server Version : 5.0.15 ERROR:web-services:[15]: Last revision No. & ID : ERROR:web-services:[16]: Traceback (most recent call last): ERROR:web-services:[17]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/osv/osv.py", line 58, in wrapper ERROR:web-services:[18]: return f(self, dbname, *args, **kwargs) ERROR:web-services:[19]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/osv/osv.py", line 137, in exec_workflow ERROR:web-services:[20]: res = self.exec_workflow_cr(cr, uid, obj, method, *args) ERROR:web-services:[21]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/osv/osv.py", line 130, in exec_workflow_cr ERROR:web-services:[22]: return wf_service.trg_validate(uid, obj, args[0], method, cr) ERROR:web-services:[23]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/wkf_service.py", line 81, in trg_validate ERROR:web-services:[24]: res2 = instance.validate(cr, id, ident, signal) ERROR:web-services:[25]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/instance.py", line 50, in validate ERROR:web-services:[26]: workitem.process(cr, witem, ident, signal, force_running, stack=stack) ERROR:web-services:[27]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/workitem.py", line 62, in process ERROR:web-services:[28]: ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack) ERROR:web-services:[29]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/workitem.py", line 175, in _split_test ERROR:web-services:[30]: _join_test(cr, t[0], t[1], ident, stack) ERROR:web-services:[31]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/workitem.py", line 183, in _join_test ERROR:web-services:[32]: create(cr,[activity], inst_id, ident, stack) ERROR:web-services:[33]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/workitem.py", line 42, in create ERROR:web-services:[34]: process(cr, res, ident, stack=stack) ERROR:web-services:[35]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/workitem.py", line 54, in process ERROR:web-services:[36]: result = _execute(cr, workitem, activity, ident, stack) ERROR:web-services:[37]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/workitem.py", line 108, in _execute ERROR:web-services:[38]: wkf_expr.execute(cr, ident, workitem, activity) ERROR:web-services:[39]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/wkf_expr.py", line 69, in execute ERROR:web-services:[40]: return _eval_expr(cr, ident, workitem, activity['action']) ERROR:web-services:[41]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/workflow/wkf_expr.py", line 59, in _eval_expr ERROR:web-services:[42]: ret = eval(line, env, nocopy=True) ERROR:web-services:[43]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/tools/safe_eval.py", line 272, in safe_eval ERROR:web-services:[44]: return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict) ERROR:web-services:[45]: File "", line 1, in <module> ERROR:web-services:[46]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/osv/orm.py", line 168, in <lambda> ERROR:web-services:[47]: return lambda *args, **argv: getattr(self._table, name)(self._cr, self._uid, [self._id], *args, **argv) ERROR:web-services:[48]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/addons/account/invoice.py", line 761, in action_number ERROR:web-services:[49]: number = self.pool.get('ir.sequence').get_id(cr, uid, sid, 'id=%s', context=tmp_context) ERROR:web-services:[50]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/addons/account/sequence.py", line 59, in get_id ERROR:web-services:[51]: return super(ir_sequence, self).get_id(cr, uid, sequence_id, test, context) ERROR:web-services:[52]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/addons/base/ir/ir_sequence.py", line 81, in get_id ERROR:web-services:[53]: return self._process(res['prefix']) + '%%0%sd' % res['padding'] % res['number_next'] + self._process(res['suffix']) ERROR:web-services:[54]: File "/home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/addons/base/ir/ir_sequence.py", line 70, in _process ERROR:web-services:[55]: 'sec': time.strftime('%S'), ERROR:web-services:[56]: KeyError: u'years' /home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/tools/misc.py:748: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 if hasattr(e, 'message'): /home/bruno/openunit/src/openerp-argentina/5.0/openerp-server/bin/tools/misc.py:749: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return ustr(e.message) To manage notifications about this bug go to: https://bugs.launchpad.net/openerp-argentina/+bug/723969/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : c2c-oerpscenario@lists.launchpad.net Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp