Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0041174 | Openbravo ERP | 07. Sales management | public | 2019-06-25 16:45 | 2019-08-22 11:29 | |||||||||||||||||||||
Reporter | ngarcia | |||||||||||||||||||||||||
Assigned To | collazoandy4 | |||||||||||||||||||||||||
Priority | immediate | Severity | minor | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR19Q3 | ||||||||||||||||||||||||
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 | 0041174: 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); | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2019-06-25 16:45 | ngarcia | New Issue | ||||||||||||||||||||||||
2019-06-25 16:45 | ngarcia | Assigned To | => Triage Finance | |||||||||||||||||||||||
2019-06-25 16:45 | ngarcia | Modules | => Core | |||||||||||||||||||||||
2019-06-25 16:45 | ngarcia | Resolution time | => 1563228000 | |||||||||||||||||||||||
2019-06-25 16:45 | ngarcia | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2019-06-25 16:46 | ngarcia | Summary | Alternative UOM is modified to UOM in Create Lines From processes of Invoice window => Alternative UOM is modified to UOM in Create Lines From processes of Invoice window if it is defined as Secondary | |||||||||||||||||||||||
2019-06-25 16:46 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=19001#r19001 | |||||||||||||||||||||||
2019-06-25 16:46 | ngarcia | Issue Monitored: networkb | ||||||||||||||||||||||||
2019-06-26 03:01 | collazoandy4 | Assigned To | Triage Finance => collazoandy4 | |||||||||||||||||||||||
2019-06-26 03:01 | collazoandy4 | Status | new => scheduled | |||||||||||||||||||||||
2019-06-26 17:40 | Sandrahuguet | Status | scheduled => acknowledged | |||||||||||||||||||||||
2019-06-26 17:40 | Sandrahuguet | Status | acknowledged => scheduled | |||||||||||||||||||||||
2019-06-27 16:05 | collazoandy4 | Note Added: 0113066 | ||||||||||||||||||||||||
2019-06-28 10:24 | hgbot | Checkin | ||||||||||||||||||||||||
2019-06-28 10:24 | hgbot | Note Added: 0113092 | ||||||||||||||||||||||||
2019-06-28 10:24 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2019-06-28 10:24 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2019-06-28 10:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f831b0b71a5ec700751e645c9e6980001acd8c7b [^] | |||||||||||||||||||||||
2019-06-28 12:06 | Sandrahuguet | Review Assigned To | => Sandrahuguet | |||||||||||||||||||||||
2019-06-28 12:06 | Sandrahuguet | Note Added: 0113102 | ||||||||||||||||||||||||
2019-06-28 12:06 | Sandrahuguet | Status | resolved => closed | |||||||||||||||||||||||
2019-06-28 12:06 | Sandrahuguet | Fixed in Version | => 3.0PR19Q3 | |||||||||||||||||||||||
2019-06-28 14:49 | hudsonbot | Checkin | ||||||||||||||||||||||||
2019-06-28 14:49 | hudsonbot | Note Added: 0113110 | ||||||||||||||||||||||||
2019-07-08 12:02 | inaki_garcia | Issue cloned | 0041315 | |||||||||||||||||||||||
2019-07-08 12:02 | inaki_garcia | Relationship added | causes 0041315 | |||||||||||||||||||||||
2019-08-02 12:32 | hgbot | Checkin | ||||||||||||||||||||||||
2019-08-02 12:32 | hgbot | Note Added: 0113782 | ||||||||||||||||||||||||
2019-08-22 11:29 | Sandrahuguet | Note Added: 0114118 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|