Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041185 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 07. Sales management | minor | always | 2019-06-25 16:45 | 2019-06-28 12:06 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR19Q2.1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a6b0d73a5762 | ||||
Projection | none | ETA | none | Target Version | 3.0PR19Q2.1 | |||
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 | 0041185: Alternative UOM is modified to UOM in Create Lines From processes of Invoice window if it is defined as Secondary | |||||||
Description | Alternative UOM is modified to UOM in Create Lines From processes of Invoice window if it is defined as Secondary | |||||||
Steps To Reproduce | As group admin role: Set 'Enable UOM Management' preference to Y Log out and log in Add Liter unit to 'Cerveza Ale 0,5L' in Alternate UOM tab as Secondary UOM Add a conversion of 5 Create a Sales Order Add 6 Liters of 'Cerveza Ale 0,5L': Operative Quantity: 6 Alternative UOM: Liter Ordered Quantity: 30 UOM: Unit Book it Set its Invoice Terms as Immediate Go to Sales Invoice Create Lines From Order Select the previously created order line Check the quantities are shown as in the order line in the pop-up Check the Alternative UOM is updated with Unit in the Sales Invoice line: Operative Quantity: 30 Alternative UOM: Unit Ordered Quantity: 30 UOM: Unit | |||||||
Proposed Solution | It seems the problem is in the UpdateQuantitiesAndUOMs file: The uomManagementIsEnabledAndAUMAndOrderUOMAreEmpty function is returning true because the Order UOM field is empty (it belongs to the old second UOM feature): return isUomManagementEnabled && (orderUOM == null || operativeUOM == null); | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0113099) hgbot (developer) 2019-06-28 12:05 |
Repository: erp/backports/3.0PR19Q2.1 Changeset: a6b0d73a5762b7af9b04c664a82f892d48390dd1 Author: Armaignac <collazoandy4 <at> gmail.com> Date: Wed Jun 26 14:29:58 2019 -0400 URL: http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/a6b0d73a5762b7af9b04c664a82f892d48390dd1 [^] Fixes issue 41185: Alternative UOM is modified to UOM in Create Lines From processes of Invoice window if it is defined as Secondary If the orderUOM is null and operativeUOM is not null the alternative UOM was updated to the --- M src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java --- |
(0113100) Sandrahuguet (developer) 2019-06-28 12:06 |
code review + testing ok |
Issue History | |||
Date Modified | Username | Field | Change |
2019-06-26 17:40 | Sandrahuguet | Type | defect => backport |
2019-06-26 17:40 | Sandrahuguet | Target Version | => 3.0PR19Q2.1 |
2019-06-28 12:05 | hgbot | Checkin | |
2019-06-28 12:05 | hgbot | Note Added: 0113099 | |
2019-06-28 12:05 | hgbot | Status | scheduled => resolved |
2019-06-28 12:05 | hgbot | Resolution | open => fixed |
2019-06-28 12:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q2.1/rev/a6b0d73a5762b7af9b04c664a82f892d48390dd1 [^] |
2019-06-28 12:06 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-06-28 12:06 | Sandrahuguet | Note Added: 0113100 | |
2019-06-28 12:06 | Sandrahuguet | Status | resolved => closed |
2019-06-28 12:06 | Sandrahuguet | Fixed in Version | => 3.0PR19Q2.1 |
Copyright © 2000 - 2009 MantisBT Group |