← Back to team overview

openerp-india team mailing list archive

[Bug 1015679] Re: _check_product

 

** Project changed: openobject-server => openobject-addons

-- 
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/1015679

Title:
  _check_product

Status in OpenERP Addons (modules):
  New

Bug description:
  On version 6.1.1 (10 June 2012 build) it was introduced a new function named "_check_product" in mrp.bom class; not present in 6.0's.
  This function doesn't allow to save a Bill of Material containing a product repeated more than a time. In my opinion, this behaviour should be a customization and not part of the standard product, because in a Bill of Material I should be able to save more than a line referrring to the same part. Particularly, I could decide to insert in my BoM the same material having different cutting length. 

  To Reproduce:
  1) Open a new BoM
  2) Add a part twice or more to this BoM
  3) Save the Bom

  Result Observed
  I have a message box that refers : 
  "Error Validate"
  "Error occurred while validating the field(s) product_id: BoM line product should not be same as BoM product."
  BoM won't be saved.

  Result expected
  I was expecting to save this BoM.

  Platform
  Windows XP Pro Sp 3 (or Ubuntu 10.4)
  Eclipse 3.6.1
  Python 2.6

  Version:
  openerp-6.1-20120609-233207.tar.gz

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


References