Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019599Openbravo ERP05. Production managementpublic2012-01-31 10:522012-04-02 06:10
VictorVillar 
jecharri 
highminoralways
closedfixed 
5
3.0MP7.1 
3.0MP10 
Core
No
0019599: Wrong assignment of process plan to a Copy product in Process plan window
When the user creates a process plan, with a sequence with P- product with a process plan assigned by default, and then he has create an intermediate product using Copy Product button in the process plan, the system copies the process plan field into the new product. This is not correct, because in this case, we will be assuming that both the P- (the origin of the copy) and the P+ (the result of the copy) are manufactured by the same process plan.
Set before a process plan, name: prueba, two products as production: Ale Beer and Apple Juice and an Activity
As group Admin role,
go to Product window:
 select Ale beer product
       Assign the process plan prueba to this product
Go to process plan window:
     create a new sequence: name: S2
                            create standars: yes
   go to I/O products tab:
      create a new one: product: Ale beer, Production type: P-, quantity: 1
click in Create Product Copy button,
        name: Ale beer without alcohol
        production type: P+
        quantity: 2
        Copy attributes in production process: Yes
Go to product window:
    select Ale beer without alcohol product
We can see the process plan assigned to this intermediate product, this is wrong.
the best solution would be left in blank the process plan assigned to this new product, and the the user assigned one if he wants to.
No tags attached.
Issue History
2012-01-31 10:52VictorVillarNew Issue
2012-01-31 10:52VictorVillarAssigned To => jonalegriaesarte
2012-01-31 10:52VictorVillarModules => Core
2012-01-31 10:52VictorVillarResolution time => 1334008800
2012-01-31 10:52VictorVillarIssue Monitored: networkb
2012-03-06 12:47jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2012-03-15 18:55hgbotCheckin
2012-03-15 18:55hgbotNote Added: 0046480
2012-03-15 18:55hgbotStatusnew => resolved
2012-03-15 18:55hgbotResolutionopen => fixed
2012-03-15 18:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4d25dd8fed868592b6d14455b476a4fbb6ac8ee2 [^]
2012-03-16 09:07jecharriNote Added: 0046489
2012-03-29 11:53VictorVillarNote Added: 0046870
2012-03-29 11:53VictorVillarStatusresolved => closed
2012-04-02 06:10hudsonbotCheckin
2012-04-02 06:10hudsonbotNote Added: 0047153

Notes
(0046480)
hgbot   
2012-03-15 18:55   
Repository: erp/devel/pi
Changeset: 4d25dd8fed868592b6d14455b476a4fbb6ac8ee2
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Mar 15 18:55:07 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4d25dd8fed868592b6d14455b476a4fbb6ac8ee2 [^]

Fixes issue 19599: Wrong assignment of process plan to a Copy product in Process plan window

---
M src/org/openbravo/erpCommon/ad_actionButton/SequenceProductCreate.java
---
(0046489)
jecharri   
2012-03-16 09:07   
Test cases:
-with steps to reproduce is enough
(0046870)
VictorVillar   
2012-03-29 11:53   
Verified
(0047153)
hudsonbot   
2012-04-02 06:10   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test