← Back to team overview

openerp-india team mailing list archive

[Bug 1001675] Re: Error While completing Production order, if you login other than admin ( V 6.0.4)

 

Hello Laxman,

Thanks for the nice explanation on bug report.

I have faced the same problem on only stable-6, on 6.1 as well as trunk
it is working fine.

Problem occurs when "product to consume" line (stock) have same product
more then one times.

This is a blocking point for v6 that's why I am assigning this to OPW
team, Same issue working fine with trunk.

Thanks again!


** Summary changed:

- Error While completing Production order, if you login other than admin ( V 6.0.4)
+ [V6]Error While completing Production order, if you login other than admin ( V 6.0.4)

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

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

Title:
  [V6]Error While completing Production order, if you login other than
  admin ( V 6.0.4)

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Use demo data from Openerp

  1> Create any product say " Computer - dual hard disk (CDH)" ( Stockable , produce type), the computer with two hard disk
        HDD1 and HDD2
       

  2> Create Product say  "M1", "M2" , ( Consumable, Make to order, Buy )

  3> Create BOM for "CDH" ( BOM Type : Normal ) --> BOM Components --> 1)  Product : M1 , Qty:1, BOM Type : Phantom
                                                                                                                                             2)  Product : M2 , Qty:1, BOM Type : Phantom

  
  4> Create BOM for "M1" ( BOM Type : Normal ) --> BOM Components --> 1)  Product : HDD1 , Qty:1, BOM Type : Normal
                                                                                                                                            2)  Product : FAN2 , Qty:1, BOM Type : Normal

  5> Create BOM for "M2" ( BOM Type : Normal ) --> BOM Components --> 1)  Product : HDD2 , Qty:1, BOM Type : Normal
                                                                                                                                            2)  Product : FAN2 , Qty:3, BOM Type : Normal

  6> Create new manufacturing order for Product "Computer - dual hard
  disk (CDH)" Qty: 1 and then confirm it.

  7> Login with "Demo" user and try to complete above manufacturing
  order, this will give you error as shown below

       "Operation forbidden
        Quantities, UoMs, Products and Locations cannot be modified on stock moves that have already been processed 
        (except by the Administrator)"

  
  8> This error occurred because in the above manufacturing order of product  "Computer - dual hard disk (CDH)" , 
        "Product to consume"  shows two stock move lines for product "FAN2" ie quantity 1 & 3

         If you process this stock move lines for "FAN2" individually in "Product to consume"  and then try to complete the
         same production order then it gets completed in "demo" user login. 

         This is problem for manufacturing a sellable products which are having  multiple  options based on requirements.
         As given in above eg the computer may have single or dual hard disk, and fan is require for hard disk. We can use
         modular bom to simplify the various configurations / options.

  9> This could be rectify if procurement object merge the product "FAN2" and gives single stock move line ie for qty : 4 in 
        the above manufacturing order.

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


References