Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037796Openbravo ERP05. Production managementpublic2018-01-31 17:472018-02-22 18:18
ngarcia 
dmiguelez 
immediatemajoralways
closedfixed 
5
 
3.0PR18Q2 
dmiguelez
Core
Production - Confirmed Stable
2017-05-31
3.0PR17Q3
https://code.openbravo.com/erp/devel/pi/rev/bd09a9d5ffa8f7b2dce0cb634b14aef05c67270f [^]
No
0037796: Cannot select a product with stock in Work effort and Production Run windows
Cannot select a product with stock in Work effort and Production Run windows
As group admin role:
   Create a product
   Set it as production
   Add an attribute set to it
   Create a goods receipt, add that product in two lines (with a different attribute set value each) set and complete it

   Create a Process Plan in which the process is consumed
   Create the Work Requirement and a work effort from it
   Go to Work Effort - Production Run - Product tab and open the Product selector (in order to select the other attribute set value)
   Clear the filter in order to show the products with stock
   Check the products with stock do not appear
No tags attached.
depends on backport 00378003.0PR18Q1 closed dmiguelez Cannot select a product with stock in Work effort and Production Run windows 
depends on backport 00378013.0PR17Q4.1 closed Triage Omni OMS Cannot select a product with stock in Work effort and Production Run windows 
caused by defect 0036008 closed collazoandy4 It is possible to add not production products in work efforts 
Issue History
2018-01-31 17:47ngarciaNew Issue
2018-01-31 17:47ngarciaAssigned To => Triage Finance
2018-01-31 17:47ngarciaModules => Core
2018-01-31 17:47ngarciaResolution time => 1519167600
2018-01-31 17:47ngarciaTriggers an Emergency Pack => No
2018-01-31 17:48ngarciaRelationship addedcaused by 0036008
2018-01-31 17:48ngarciaIssue Monitored: ngarcia
2018-02-01 12:11dmiguelezRegression level => Production - Confirmed Stable
2018-02-01 12:11dmiguelezRegression date => 2017-05-31
2018-02-01 12:11dmiguelezRegression introduced in release => 3.0PR17Q3
2018-02-01 12:11dmiguelezRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/bd09a9d5ffa8f7b2dce0cb634b14aef05c67270f [^]
2018-02-01 12:11dmiguelezStatusnew => scheduled
2018-02-01 12:11dmiguelezAssigned ToTriage Finance => dmiguelez
2018-02-01 19:00collazoandy4Note Added: 0102123
2018-02-02 09:25hgbotCheckin
2018-02-02 09:25hgbotNote Added: 0102137
2018-02-02 09:25hgbotStatusscheduled => resolved
2018-02-02 09:25hgbotResolutionopen => fixed
2018-02-02 09:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b45167e7c675058c638998dd67bf8572d195e399 [^]
2018-02-02 09:34dmiguelezReview Assigned To => dmiguelez
2018-02-02 09:34dmiguelezNote Added: 0102141
2018-02-02 09:34dmiguelezStatusresolved => closed
2018-02-02 09:34dmiguelezFixed in Version => 3.0PR18Q2
2018-02-22 18:18hudsonbotCheckin
2018-02-22 18:18hudsonbotNote Added: 0102710

Notes
(0102123)
collazoandy4   
2018-02-01 19:00   
Test Plan
As group admin role:
  Go to Product window and create a new record:
    Search Key/Name: ProductionProduct
    Production: Y
    Attribute Set: Lote
  Go to Goods Receipt window and create a new record:
    Business Partner: Bebidas Alegres, S.L.
    Create two records in Lines tab:
      1. Product: ProductionProduct, Attribute Set Value: 111, Movement quantity: 10
      2. Product: ProductionProduct, Attribute Set Value: 222, Movement quantity: 20
    Complete the Receipt
  Go to Manufacturing Cost Center and create a new record:
    Search Key/Name: Cost Center
    Create a new record in Version tab:
      Valid From Date: Today
  Go to Activity window and create a new record:
    Search Key/Name: Activity
    Cost Center: Cost Center
  Go to Process Plan window and create a new record:
    Search Key/Name: ProcessPlan
    Create a new record in Version Tab:
      Starting Date: Today
      Ending Date: Last Day of Month
      Create a new record in Operation tab:
        Search Key/Name: Operation
        Activity: Activity
  Go to Work Requirement window and create a new record:
    Process Plan: ProcessPlan
    Starting Date: Today
      Ending Date: Last Day of Month
      Quantity: 10
      Process the requirement
    Clic on Create a Work Effort button
      Date: Today
  Go to Work Effort window and select the previous one created:
    Create a new record in Product tab under Production Run tab and check that you can select the previous product created with stock in the product selector
  Go to Production Run and select the previous record created:
    Create a new record in Product tab and check that you can select the previous product created with stock in the product selector
(0102137)
hgbot   
2018-02-02 09:25   
Repository: erp/devel/pi
Changeset: b45167e7c675058c638998dd67bf8572d195e399
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Feb 01 12:16:41 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b45167e7c675058c638998dd67bf8572d195e399 [^]

Fixes Issue 37796. Selector for Product in Work Effort and Production Run Windows
does not filter Products by non stocked. It is possible to select a product
regardless of having stock of it. If there is stock, it is possible to select
the specific stock.

---
M src-db/database/sourcedata/OBUISEL_SELECTOR.xml
---
(0102141)
dmiguelez   
2018-02-02 09:34   
Code Review + Testing Ok
(0102710)
hudsonbot   
2018-02-22 18:18   
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/980a6ad5bbf5 [^]
Maturity status: Test