← Back to team overview

avanzosc team mailing list archive

[Bug 788836] Re: calculate data or confirm production on a product returns error

 

I am sorry,

now I see that it conflicts with one of my custom modules.

I rush into reporting the bug.

Thank you for your great work.
Mihai

-- 
You received this bug notification because you are a member of Avanzosc
Developers, which is subscribed to Avanzosc developments.
https://bugs.launchpad.net/bugs/788836

Title:
  calculate data or confirm production on a product returns error

Status in Avanzosc OpenERP modules:
  New

Bug description:
  Hi,
  I am trying to produce my first order,
  after setting some routes, operations, factory, work center, anything that comes to mind, 
  I create manually new manufacturing order.

  I select the product, it has a BOM, but when I want to confirm I get
  this.

  Where am I wrong?

  Environment Information : 
  System : Windows-XP-5.1.2600-SP3
  OS Name : nt
  Operating System Release : XP
  Operating System Version : 5.1.2600
  Operating System Architecture : 32bit
  Operating System Locale : ro_RO.cp1252
  Python Version : 2.5.2
  OpenERP-Client Version : 6.0.2
  Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
    File "/usr/lib/openerp-server-6.0.1/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/usr/lib/openerp-server-6.0.1/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/openerp-server-6.0.1/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/openerp-server-6.0.1/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/openerp-server-6.0.1/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/openerp-server-6.0.1/addons/mrp_master_extension/mrp_production.py", line 373, in action_compute
      res = bom_obj._bom_explode(cr, uid, bom_point, factor / bom_point.product_qty, properties)
    File "/usr/lib/openerp-server-6.0.1/addons/deltatech_mrp/mrp.py", line 54, in _bom_explode
      result, result2 = super(mrp_bom,self)._bom_explode(cr, uid, bom, factor, properties, addthis, level)
    File "/usr/lib/openerp-server-6.0.1/addons/mrp_master_extension/mrp_bom.py", line 371, in _bom_explode
      res = self._bom_explode(cr, uid, bom2, factor, properties, addthis=True, level=level+10)
    File "/usr/lib/openerp-server-6.0.1/addons/deltatech_mrp/mrp.py", line 54, in _bom_explode
      result, result2 = super(mrp_bom,self)._bom_explode(cr, uid, bom, factor, properties, addthis, level)
  ValueError: need more than 0 values to unpack

  
  PS.
  This is one of the most expected modules for me. 
  I hope you will not mind if I ask few questions here and there, perhaps few wishes.
  Thank you.


References