← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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:
  Error While completing Production order, if you login other than admin
  ( V 6.0.4)

Status in OpenERP Addons (modules):
  New

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


Follow ups

References