Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027977 | Openbravo ERP | 03. Procurement management | public | 2014-10-24 11:18 | 2014-12-30 23:27 |
|
Reporter | maite | |
Assigned To | reinaldoguerra | |
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q2 | Fixed in Version | 3.0PR15Q1 | |
Merge Request Status | |
Review Assigned To | Sandrahuguet |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027977: Error obtained in Pending Goods Receipt when working with secondary UOM and conversion is only defined from second UOM to first |
Description | In case you defined conversion from secondary unit to main unit, process shows error "You have filled in Quantity order without selecting a corresponding UOM order , or vice versa. Fill in both fields, or leave them empty".
Problem is that MaterialReceiptPending.java is only checking is exists conversion defined from main UOM to secondary UOM but not vice-versa |
Steps To Reproduce | 1. Display UOM tab at Product window
2. Display Conversion tab at UOM window
3. Display "Order Quantity" and "Order UOM" fields at purchase order line tab
4. Logout and login
5. Access product "Zumo de piña" en configure "Ounce" uom in UOM tab
6. Access "Ounce" uom and define conversion to "Unit" uom as multiply=2
7. Register Purchase Order for España organization and La Fruta es la Vida, S.L. business partner
8. Add line for Zumo de Piña, set Product UOM "Ounce" and Order Quantity "10". Verify that Ordered Quantity has been automatically calculated to 5. Process Order
9. Access "Pending goods receipt" form and try to generate receipt form that order line. Error will be raised "You have filled in Quantity order without selecting a corresponding UOM order , or vice versa. Fill in both fields, or leave them empty"
|
Proposed Solution | Process should also check if conversion exists from secondary UOM to main UOM (as purchase order line's callout is properly working when only that conversion is defined) in line 371 to 384 of MaterialReceiptPending.java |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0030481 | 3.0PR15Q4 | closed | AtulOpenbravo | Wrong quantity conversion in goods receipts under some circumstancies |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-10-24 11:18 | maite | New Issue | |
2014-10-24 11:18 | maite | Assigned To | => dmiguelez |
2014-10-24 11:18 | maite | Modules | => Core |
2014-10-24 11:18 | maite | Resolution time | => 1420585200 |
2014-10-24 11:18 | maite | Triggers an Emergency Pack | => No |
2014-10-24 11:19 | maite | Issue Monitored: networkb | |
2014-10-31 13:09 | dmitry_mezentsev | Assigned To | dmiguelez => Sandrahuguet |
2014-11-12 05:05 | reinaldoguerra | Assigned To | Sandrahuguet => reinaldoguerra |
2014-11-12 05:05 | reinaldoguerra | Status | new => scheduled |
2014-11-13 01:09 | reinaldoguerra | Note Added: 0071622 | |
2014-12-01 13:41 | egoitz | Target Version | 3.0PR15Q1 => 3.0PR15Q2 |
2014-12-15 16:44 | hgbot | Checkin | |
2014-12-15 16:44 | hgbot | Note Added: 0072517 | |
2014-12-15 16:44 | hgbot | Status | scheduled => resolved |
2014-12-15 16:44 | hgbot | Resolution | open => fixed |
2014-12-15 16:44 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e565273a954e38882f5fdadb61b3b6c124b87675 [^] |
2014-12-15 16:45 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2014-12-15 16:45 | Sandrahuguet | Note Added: 0072518 | |
2014-12-15 16:45 | Sandrahuguet | Status | resolved => closed |
2014-12-15 16:45 | Sandrahuguet | Fixed in Version | => 3.0PR15Q1 |
2014-12-30 23:27 | hudsonbot | Checkin | |
2014-12-30 23:27 | hudsonbot | Note Added: 0073220 | |
2015-08-21 08:56 | aferraz | Relationship added | related to 0030481 |
Notes |
|
|
Test plan used:
1- Login into Openbravo ERP
2- As system administrator go to product window and set as active UOM tab
3- Go to Unit of Measure window and set as active Conversion tab
4- Display "Order Quantity" and "Order UOM" fields at purchase order line tab
5- Logout and login
6- Access product "Zumo de piña" en configure "Ounce" uom in UOM tab
7- Access "Ounce" UOM window and define conversion to "Unit" uom as Divide Rate By: 2
8- Register Purchase Order for España organization and La Fruta es la Vida, S.L. as business partner
9- Add line for Zumo de Piña product, set Product UOM as "Ounce" and Order Quantity: "10". Verify that Ordered Quantity has been automatically calculated to 5.
10- Book the order
11- Access "Pending goods receipt" form and try to generate receipt form that order line. A new good receipt is created successfuly. |
|
|
(0072517)
|
hgbot
|
2014-12-15 16:44
|
|
Repository: erp/devel/pi
Changeset: e565273a954e38882f5fdadb61b3b6c124b87675
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Wed Nov 12 16:39:51 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/e565273a954e38882f5fdadb61b3b6c124b87675 [^]
Fixed bug 27977: Error when conversion is only defined from second UOM to first.
Pending goods receipt form class named MaterialReceiptPending was changed to also check if conversion exists from secondary UOM to main UOM.
Now it is possible to define only conversion from secondary UOM to main UOM for purchase order product and then process Pending goods receipt successfuly.
---
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.java
---
|
|
|
|
|
|
|
|