Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041186 | ||||||||
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.0PR19Q1.2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e63e7eef9598 | ||||
Projection | none | ETA | none | Target Version | 3.0PR19Q1.2 | |||
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 | 0041186: 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 | |
(0113096) hgbot (developer) 2019-06-28 11:51 |
Repository: erp/backports/3.0PR19Q1.2 Changeset: e63e7eef95981d224b4e1506d03d67c1b90c7fd5 Author: Armaignac <collazoandy4 <at> gmail.com> Date: Wed Jun 26 14:29:58 2019 -0400 URL: http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/e63e7eef95981d224b4e1506d03d67c1b90c7fd5 [^] Fixes issue 41186: 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 --- |
(0113101) 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.0PR19Q1.2 |
2019-06-28 11:51 | hgbot | Checkin | |
2019-06-28 11:51 | hgbot | Note Added: 0113096 | |
2019-06-28 11:51 | hgbot | Status | scheduled => resolved |
2019-06-28 11:51 | hgbot | Resolution | open => fixed |
2019-06-28 11:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q1.2/rev/e63e7eef95981d224b4e1506d03d67c1b90c7fd5 [^] |
2019-06-28 12:06 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-06-28 12:06 | Sandrahuguet | Note Added: 0113101 | |
2019-06-28 12:06 | Sandrahuguet | Status | resolved => closed |
2019-06-28 12:06 | Sandrahuguet | Fixed in Version | => 3.0PR19Q1.2 |
Copyright © 2000 - 2009 MantisBT Group |