Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0027977 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | minor | always | 2014-10-24 11:18 | 2014-12-30 23:27 | |||
Reporter | maite | View Status | public | |||||
Assigned To | reinaldoguerra | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e565273a954e | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | Sandrahuguet | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0071622) reinaldoguerra (developer) 2014-11-13 01:09 |
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 (developer) 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 --- |
(0072518) Sandrahuguet (developer) 2014-12-15 16:45 |
Code review + testing OK |
(0073220) hudsonbot (developer) 2014-12-30 23:27 |
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/6525fe229e06 [^] Maturity status: Test |
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 |
Copyright © 2000 - 2009 MantisBT Group |