Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030018Openbravo ERP05. Production managementpublic2015-05-26 17:002016-12-16 18:37
ngarcia 
AtulOpenbravo 
highminoralways
closedfixed 
5
 
3.0PR17Q1 
aferraz
Core
No
0030018: Invoice Line field of the Work Effort - Production Run - Outsourced tab should be editable although the document is processed
Invoice Line field of the Work Effort - Production Run - Outsourced tab should be editable although the document is processed. Only the cost field is taken into account when calculating the cost of the transaction
As group admin role:
   Create a Process Plan
   Create a Work Requirement for it
   Generate a Work Effort from it
   Add a record in the Outsourced tab. Fill only the Cost field
   Validate the work effort
   Check the Invoice Line field is read only
No tags attached.
related to defect 0012912pi closed alostale Read Only Logic is not working for Invoice Line field of Outsourced tab 
related to defect 00123872.50MP17 closed sivaraman It is possible to add some records when a Work effort is processed 
png issue_30018_fixed.png (70,808) 2016-03-02 13:02
https://issues.openbravo.com/file_download.php?file_id=9124&type=bug
png
Issue History
2015-05-26 17:00ngarciaNew Issue
2015-05-26 17:00ngarciaAssigned To => Triage Finance
2015-05-26 17:00ngarciaModules => Core
2015-05-26 17:00ngarciaTriggers an Emergency Pack => No
2015-05-26 17:01ngarciaIssue Monitored: networkb
2015-05-26 17:01ngarciaRelationship addedrelated to 0012912
2015-07-03 10:40ngarciaRelationship addedrelated to 0012387
2015-07-28 19:41AtulOpenbravoAssigned ToTriage Finance => AtulOpenbravo
2015-07-28 19:42AtulOpenbravoStatusnew => scheduled
2015-07-28 19:48AtulOpenbravoNote Added: 0079111
2016-03-01 14:49psanjuanNote Edited: 0079111bug_revision_view_page.php?bugnote_id=0079111#r11296
2016-03-01 15:10psanjuanNote Added: 0084630
2016-03-01 15:11psanjuanNote Edited: 0084630bug_revision_view_page.php?bugnote_id=0084630#r11298
2016-03-02 12:54psanjuanNote Edited: 0084630bug_revision_view_page.php?bugnote_id=0084630#r11307
2016-03-02 12:55psanjuanNote Added: 0084655
2016-03-02 13:02psanjuanNote Edited: 0084655bug_revision_view_page.php?bugnote_id=0084655#r11309
2016-03-02 13:02psanjuanFile Added: issue_30018_fixed.png
2016-03-02 13:03psanjuanNote Added: 0084656
2016-10-17 12:10hgbotCheckin
2016-10-17 12:10hgbotNote Added: 0090625
2016-10-17 12:10hgbotStatusscheduled => resolved
2016-10-17 12:10hgbotResolutionopen => fixed
2016-10-17 12:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/42b07001fd6a61dc6f8ce3553a7a040a8c201c8c [^]
2016-10-17 12:12aferrazReview Assigned To => aferraz
2016-10-17 12:12aferrazNote Added: 0090629
2016-10-17 12:12aferrazStatusresolved => closed
2016-10-17 12:12aferrazFixed in Version => 3.0PR17Q1
2016-12-16 18:37hudsonbotCheckin
2016-12-16 18:37hudsonbotNote Added: 0092518

Notes
(0079111)
AtulOpenbravo   
2015-07-28 19:48   
(edited on: 2016-03-01 14:49)
Test Plan
- Define at least two products one for Production Produced and one for Product Use. Set Production flag as Yes.
- Define storage bin under Manufacturing tab for above created product.
- Define a activity.
- Define Process Plan using above created activity with Production + and Product Use - products.
- Using Physical Inventory create record for Product use Product say Qty 100 and process inventory.
- Create a Work requirement using above created Process Plan.
- Create a Work Effort based on work requirement.
- Navigate to Work Effort >> Production Run >> Outsourced Tab and enter a record by setting some cost to it. Keep invoice line field blank.
- Validate Work Effort.
- Again Navigate to Work Effort >> Production Run >> Outsourced Tab and edit previously created record and check that Invoice Line field is editable and you could select a invoice line record in it & save it.

(0084630)
psanjuan   
2016-03-01 15:10   
(edited on: 2016-03-02 12:54)
Test Plan for issue verification:

- Create a product for F&B España named "Production Produced".
- Set as Production = Yes
- Add a storage bin in Manufacturing tab, and a price list in Price tab.
- Create another product for F&B España named "Production Used".
- Set as Production = Yes.
- Create an Activity.
- Create a process plan with below setup:
   Version tab: Starting date 01-01-2015, ending date 31-12-2016
   Operation tab: select the activity created
   I/O product tab: select Production Produced produt as P+, Qty=1 and
   Production Used as P-, Qty=1.
- Relate the production plan created with the two products.
- Create a Goods receipt for Product "Production Used" of 10 units. BP = Bebidas Alegres. Complete the receipt.
- Create a work requirement using process plan created, select the activity in operation tab, and enter a quantity in the header. Process Work Requirement.
- Create a work effort based on work requirement. Enter today's date.
- Go to the work effort created.
- Go to Production Run tab and enter 5 as Completed Quantity. Run Create Standards process
- Navigate to Outsourced Tab and enter a record by setting some cost to it. Keep invoice line field blank.
- Validate work effort
- Check that Invoice Line field in "Outsourced" tab is read-only.

(0084655)
psanjuan   
2016-03-02 12:55   
(edited on: 2016-03-02 13:02)
Test Plan:

Test Plan for issue verification:

- Create a product for F&B España named "Production Produced".
- Set as Production = Yes
- Add a storage bin in Manufacturing tab, and a price list in Price tab.
- Create another product for F&B España named "Production Used".
- Set as Production = Yes.
- Create an Activity.
- Create a process plan with below setup:
   Version tab: Starting date 01-01-2015, ending date 31-12-2016
   Operation tab: select the activity created
   I/O product tab: select Production Produced produt as P+, Qty=1 and
   Production Used as P-, Qty=1.
- Relate the production plan created with the two products.
- Create a Goods receipt for Product "Production Used" of 10 units. BP = Bebidas Alegres. Complete the receipt.
- Create a work requirement using process plan created, select the activity in operation tab, and enter a quantity in the header. Process Work Requirement.
- Create a work effort based on work requirement. Enter today's date.
- Go to the work effort created.
- Go to Production Run tab and enter 5 as Completed Quantity. Run Create Standards proces
- Navigate to Outsourced Tab and enter a record by setting some cost to it. Keep invoice line field blank.
- Validate work effort
- Check that Invoice Line field is editable. See image attached.

(0084656)
psanjuan   
2016-03-02 13:03   
Test Plan above verified.

Issue can be code reviewed and closed.
(0090625)
hgbot   
2016-10-17 12:10   
Repository: erp/devel/pi
Changeset: 42b07001fd6a61dc6f8ce3553a7a040a8c201c8c
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jul 28 20:46:30 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/42b07001fd6a61dc6f8ce3553a7a040a8c201c8c [^]

Fixes issue 30018: Invoice Line field in Work Effort should be editable

Read only logic in column setting for Invoice Line is removed.

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0090629)
aferraz   
2016-10-17 12:12   
Code review + Testing OK
(0092518)
hudsonbot   
2016-12-16 18:37   
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/dc8bf00badd0 [^]
Maturity status: Test