← Back to team overview

openerp-india team mailing list archive

[Bug 926107] Re: MRP: Properties do not work

 

Hello,
i tried to do the same on v7 and it looks like our beloved bug is back

i created 2 BOMs for the same product. each BOM has it's own property
(prop1 and prop2)

then i tried to create 2 SO. the first with a line for the product and
prop1, the second with a line for the same product and prop2

in both cases i get MOs for the BOM with prop2.

can someone confirm this regression?

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

Title:
  MRP: Properties do not work

Status in OpenERP Addons (modules):
  Fix Released
Status in OpenERP Addons 6.1 series:
  Confirmed

Bug description:
  On the trunk, when we define several BoM for the same product with
  different properties, the BoM selected is not correct according the
  properties selected in the Sale Order.

  Steps to reproduce:
  - Create 3 product (1 to produce and 2 components)
  Example: Steel Table (Stockable, MTO, To produce), Table Legs (Stockable, MTS, Buy), Steel Panel (Stockable, MTS, buy) [Create an inventory to put some unit in stock for the table legs and steel panel]

  - Create a property group 'Table type' in which you define two
  properties: 'Kit' and 'Assembled'

  - Create two BoM for the steel table
  * One with the type: Nomal BoM and one with Kit Phantom type
  * Components: 1 panel and 4 legs
  * Property: For the Kit BoM, add the property Kit. For the Normal BoM, select the property Assembled

  - Create a Sale Order for the product Steel Table and add in the Extra info tab the property Kit
  - Deliver the components

  - Create a Sale Order for the same product but add the property Assembled
  - Deliver the components
  --> Wrong! Should generate a Manufacturing Order


  Expected behavior:
  Selection of the BoM according to the properties defined in the BoM according to the properties selected in the Sales Order (and try to meet a maximum of them).

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


References