Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026514Openbravo ERP05. Production managementpublic2014-05-12 19:202014-05-29 23:05
ngarcia 
rafaroda 
urgentmajoralways
closedfixed 
5
 
3.0PR14Q3pi 
Core
No
0026514: Production Runs with 0 quantity in the Product tab should not generate an entry in the M_TRANSACTION tab
Production Runs with 0 quantity in the Product tab should not generate an entry in the M_TRANSACTION tab
As group admin role:
   Create an Activity
   Create a Process Plan, a Version and a Operation
   Select the Create Standards checkbox and the previous created Activity
   Add a produced and a consumed product with Quantity = 0
   Create a Work Requirement for the previous created Process Plan and process it
   Create the work effort and process it
   Check an entry is created in the Product - Transactions tab for both products and in the Product - Costing tab for the produced products
No tags attached.
related to defect 00243743.0MP29 closed jecharri There are transaction with movement qty = 0 when they should not. 
related to defect 00246313.0MP28 closed caristu Physical inventory should not generate transactions under some circunstancies 
diff 26514.diff (3,091) 2014-05-13 18:51
https://issues.openbravo.com/file_download.php?file_id=6923&type=bug
Issue History
2014-05-12 19:20ngarciaNew Issue
2014-05-12 19:20ngarciaAssigned To => jonalegriaesarte
2014-05-12 19:20ngarciaModules => Core
2014-05-12 19:20ngarciaTriggers an Emergency Pack => No
2014-05-12 19:20ngarciaIssue Monitored: networkb
2014-05-12 19:21ngarciaRelationship addedrelated to 0024374
2014-05-12 19:34ngarciaRelationship addedrelated to 0024631
2014-05-13 15:53ngarciaSummaryProduction Runs 0 quantity in the Product tab should not generate an entry in the M_TRANSACTION tab => Production Runs with 0 quantity in the Product tab should not generate an entry in the M_TRANSACTION tab
2014-05-13 15:53ngarciaDescription Updatedbug_revision_view_page.php?rev_id=5816#r5816
2014-05-13 18:51ngarciaFile Added: 26514.diff
2014-05-19 14:33jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-05-27 14:57rafarodaAssigned Topramakrishnan => rafaroda
2014-05-27 14:57rafarodaStatusnew => scheduled
2014-05-28 18:19rafarodaNote Added: 0067540
2014-05-28 18:20rafarodaNote Edited: 0067540bug_revision_view_page.php?bugnote_id=0067540#r5898
2014-05-29 11:35hgbotCheckin
2014-05-29 11:35hgbotNote Added: 0067567
2014-05-29 11:35hgbotStatusscheduled => resolved
2014-05-29 11:35hgbotResolutionopen => fixed
2014-05-29 11:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fabc81386bec810527ac580189c73cac7614a9fb [^]
2014-05-29 11:38AtulOpenbravoNote Added: 0067568
2014-05-29 11:38AtulOpenbravoStatusresolved => closed
2014-05-29 11:38AtulOpenbravoFixed in Version => pi
2014-05-29 23:05hudsonbotCheckin
2014-05-29 23:05hudsonbotNote Added: 0067589

Notes
(0067540)
rafaroda   
2014-05-28 18:19   
(edited on: 2014-05-28 18:20)
Steps to test the fix:
1) Mark Red wine, White wine and Rose wine as Production
2) Setup a Process Plan http://wiki.openbravo.com/wiki/Process_Plan [^]
* Red wine: P- 0.5
* White wine: P- 0.5
* Rose wine: P+ 1
3) Create a Work Requirement for the process plan and process it: products quantities <> 0 http://wiki.openbravo.com/wiki/Work_Requirement [^]
4) Create a Work Effort from this Work Requirement and validate it http://wiki.openbravo.com/wiki/Work_Effort [^]
5) Go to Transaction tab in each of the products windows and check that lines have been created after validating the Work Effort
6) Create a new requirement and process it: set some products quantities = 0
7) Create a Work Effort from this Work Requirement, set some products quantities = 0 and validate it
8) Go to Transaction tab in each of the products windows and check that lines have been created after validating the Work Effort only for products that had quantity <> 0 in the Work Effort

(0067567)
hgbot   
2014-05-29 11:35   
Repository: erp/devel/pi
Changeset: fabc81386bec810527ac580189c73cac7614a9fb
Author: Rafa Roda Palacios <rafa.roda <at> ubiquads.com>
Date: Wed May 28 18:09:28 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fabc81386bec810527ac580189c73cac7614a9fb [^]

Fixes issue 26514 Validate Work Effort only inserts in M_TRANSACTION table when movement Quantity is <> 0

---
M src-db/database/model/functions/MA_WORKEFFORT_VALIDATE.xml
---
(0067568)
AtulOpenbravo   
2014-05-29 11:38   
Review + Testing, OK.
(0067589)
hudsonbot   
2014-05-29 23:05   
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/bd7f8b6f935a [^]
Maturity status: Test