error al confirmar pedido addons 6.1

Bug #1100765 reported by Aitor Eguiluz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Avanzosc developments
Fix Released
High
Unassigned

Bug Description

 Con la rama de addons 6.1

Al instalar el módulo "account_invoice_analytics" que tiene como dependencia "account_invoicing" (antes funcionaba correctamente) y después ir a un pedido de venta y confirmarlo aparece el siguiente error:

Environment Information :
System : Linux-3.2.0-35-generic-pae-i686-with-Ubuntu-12.04-precise
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Operating System Release : 3.2.0-35-generic-pae
Operating System Version : #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012
Operating System Architecture : 32bit
Operating System Locale : es_ES.UTF-8
Python Version : 2.7.3
OpenERP-Client Version : 6.1-20121221-004050
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/ubuntu12/openerp61_desa/server/openerp/service/netrpc_server.py", line 64, in run
    result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
  File "/home/ubuntu12/openerp61_desa/server/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/ubuntu12/openerp61_desa/server/openerp/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/ubuntu12/openerp61_desa/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/ubuntu12/openerp61_desa/server/openerp/osv/osv.py", line 196, in exec_workflow
    res = self.exec_workflow_cr(cr, uid, obj, method, *args)
  File "/home/ubuntu12/openerp61_desa/server/openerp/osv/osv.py", line 189, in exec_workflow_cr
    return wf_service.trg_validate(uid, obj, args[0], method, cr)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/wkf_service.py", line 124, in trg_validate
    res2 = instance.validate(cr, id, ident, signal)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/instance.py", line 48, in validate
    workitem.process(cr, witem, ident, signal, force_running, stack=stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 61, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 176, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 184, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 41, in create
    process(cr, res, ident, stack=stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 61, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 176, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 184, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 41, in create
    process(cr, res, ident, stack=stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 61, in process
    ok = _split_test(cr, workitem, activity['split_mode'], ident, signal, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 176, in _split_test
    _join_test(cr, t[0], t[1], ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 184, in _join_test
    create(cr,[activity], inst_id, ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 41, in create
    process(cr, res, ident, stack=stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 53, in process
    result = _execute(cr, workitem, activity, ident, stack)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/workitem.py", line 107, in _execute
    returned_action = wkf_expr.execute(cr, ident, workitem, activity)
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/wkf_expr.py", line 68, in execute
    return _eval_expr(cr, ident, workitem, activity['action'])
  File "/home/ubuntu12/openerp61_desa/server/openerp/workflow/wkf_expr.py", line 58, in _eval_expr
    ret = eval(line, env, nocopy=True)
  File "/home/ubuntu12/openerp61_desa/server/openerp/tools/safe_eval.py", line 241, in safe_eval
    return eval(test_expr(expr,_SAFE_OPCODES, mode=mode), globals_dict, locals_dict)
  File "", line 1, in <module>
  File "/home/ubuntu12/openerp61_desa/server/openerp/osv/orm.py", line 368, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/ubuntu12/openerp61_desa/server/openerp/addons/account_invoice_analytics/sale.py", line 214, in action_create_analytic_lines
    obj_agreement.set_process(cr, uid, [id])
  File "/home/ubuntu12/openerp61_desa/server/openerp/addons/account_invoicing/invoicing.py", line 1615, in set_process
    self.write(cr, uid, [row.id], {'init_effect_date': agr_period_data})
  File "/home/ubuntu12/openerp61_desa/server/openerp/addons/account_invoicing/invoicing.py", line 1853, in write
    return super(agreement, self).write(cr, uid, ids, vals, context=context)
  File "/home/ubuntu12/openerp61_desa/server/openerp/osv/orm.py", line 3927, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/ubuntu12/openerp61_desa/server/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/home/ubuntu12/openerp61_desa/server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
DataError: invalid input syntax for type date: "2013-02-16 00:00:00,00"
LINE 1: update inv_agreement set "init_effect_date"='2013-02-16 00:0...

Aitor Eguiluz (aeguiluz)
tags: added: account-invoicing
removed: account-invoice-analytics
Changed in avanzosc:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Daniel Campos (Avanzosc) (dani-ds) wrote :

Parece ser que había un error en el módulo dependiente account_invoicing que impactaba en este, ya se ha subido la modificación.

Changed in avanzosc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.