← Back to team overview

openerp-india team mailing list archive

[Bug 985525] Re: MRP : check_product very strict - BoM line product should not be same as BoM product.

 

doesn't work anymore:

Client Traceback (most recent call last):
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\openerp\addons\web\common\http.py", line 180, in dispatch
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\openerp\addons\web\controllers\main.py", line 976, in save
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\openerp\addons\web\common\openerplib\main.py", line 250, in proxy
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\openerp\addons\web\common\openerplib\main.py", line 117, in proxy
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\openerp\addons\web\common\http.py", line 608, in send


Server Traceback (most recent call last):
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\openerp\addons\web\common\http.py", line 593, in send
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\netsvc.py", line 360, in dispatch_rpc
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\service\web_services.py", line 582, in dispatch
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\service\security.py", line 40, in check
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\pooler.py", line 50, in get_pool
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\pooler.py", line 33, in get_db_and_pool
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\modules\registry.py", line 180, in get
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\modules\registry.py", line 202, in new
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\modules\loading.py", line 334, in load_modules
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\modules\loading.py", line 253, in load_marked_modules
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\modules\loading.py", line 167, in load_module_graph
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\modules\registry.py", line 109, in load
  File "C:\Program Files\OpenERP 6.1-20121001-232851\Server\server\.\openerp\osv\orm.py", line 877, in create_instance
TypeError: The model "mrp.bom" specifies an unexisting parent class "mrp.bom"
You may need to add a dependency on the parent class' module.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/985525

Title:
  MRP : check_product very strict - BoM line product should not be same
  as BoM product.

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  In openerp 6.1 on module MRP, there are a function to check product on BoM.
  BoM can't contained two lines or sublines with same product.

  For example, we have a bom (bomA) with two bom composent, I named it bcomp1 and bcomp2 . 
  bcomp1 and bcomp2 contain a line with same product, product1 and parent bom is bomA.
  With check_product constraint, there are a problem on bomA.

  We work in electronic. bcomp1 and bcomp2 are bom of an electronic card
  and they used same LED (product1).

  Why this hard check and not checked products only on BoM and checked
  products of bom composent without memorised products of parent BoM ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/985525/+subscriptions


References