** Summary changed:

- mrp_operation : cannot start an operation 
+ Performing an action in an o2m list row errors out when the row has not been 
saved

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/884207

Title:
  Performing an action in an o2m list row errors out when the row has
  not been saved

Status in OpenERP Web:
  Confirmed

Bug description:
  trunk, web, chrome, mrp_operation

  View : Manufacturing order (Manufacturing/Manufacturing/Manufacturing 
Orders), tab workorder.
  create a new one, save it and start it from the list 

  here under, the bug i get if i start an order line from work order tab

  OpenERP Server Error
  Client Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/http.py", line 154, in 
dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/aline/source/web/trunk/addons/web/controllers/main.py", line 
731, in exec_workflow
      r = req.session.exec_workflow(model, id, signal)
    File "/home/aline/source/web/trunk/addons/web/common/session.py", line 82, 
in exec_workflow
      r = self.proxy('object').exec_workflow(self._db, self._uid, 
self._password, model, signal, id)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", 
line 294, in proxy
      result = self.connector.send(self.service_name, method, *args)
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", 
line 264, in send
      raise fault

  
  Server Traceback (most recent call last):
    File "/home/aline/source/web/trunk/addons/web/common/openerplib/main.py", 
line 245, in send
      result = openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/home/aline/source/server/trunk/openerp/netsvc.py", line 325, in 
dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/aline/source/server/trunk/openerp/service/web_services.py", 
line 580, in dispatch
      res = fn(db, uid, *params)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 120, in 
wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 192, in 
exec_workflow
      res = self.exec_workflow_cr(cr, uid, obj, method, *args)
    File "/home/aline/source/server/trunk/openerp/osv/osv.py", line 185, in 
exec_workflow_cr
      return wf_service.trg_validate(uid, obj, args[0], method, cr)
    File "/home/aline/source/server/trunk/openerp/workflow/wkf_service.py", 
line 122, in trg_validate
      cr.execute('select id from wkf_instance where res_id=%s and res_type=%s 
and state=%s', (res_id, res_type, 'active'))
    File "/home/aline/source/server/trunk/openerp/sql_db.py", line 153, in 
wrapper
      return f(self, *args, **kwargs)
    File "/home/aline/source/server/trunk/openerp/sql_db.py", line 215, in 
execute
      res = self._obj.execute(query, params)
  DataError: invalid input syntax for integer: "one2many_v_id_22478"
  LINE 1: select id from wkf_instance where res_id=E'one2many_v_id_224...
                                                   ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/884207/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to