Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056035Openbravo ERPA. Platformpublic2024-07-17 09:042024-08-01 12:44
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
PR24Q4 
Core
No
0056035: Operative quantity is not updated when changed in Purchase Order window - Model Mode process
Model Mode process allows to add products and change the quantity. The first time an order line is created as part of this process it works fine, but it does not update the operative quantity if it is updated afterwards.
It can be tested on a pos2-modules environment: https://livebuilds.openbravo.com/context/retail_pos2_modules_pgsql/ [^]
1. Login in backoffice as White Valley Admin
2. Go to Product Characteristics window
2.1. Select record Color, and in "Relevant Characteristic" select Color and save.
2.2. Select record Size, and in "Relevant Characteristic" select Size and save.
3. Go to Product window and search for product named "Dry Fit Run"
3.1. Select the generic product, then go to "Characteristics Dimensions" field group.
3.2. Check Enable Characteristic Dimensions and in Row Characteristic select Color, Column Characteristic select Size.
4. Go to Purchase Order window and create a new one
4.1. Set any value on the business partner.
5. Click on "Model Mode" on the top right.
5.1. Click on "Add New" and add the Dry Fit Run product
5.2. On the bottom grid in the Model Mode process, put on some combination of color/size a positive value, for example 5
5.3. Click on Done
6. Check that in Lines subtab of the order, there is a new line with Operative Qty and Ordered Qty properly set to the inputted value.
7. Open Model Mode again and now change that value to another positive value, for example 2. Then click on Done.
8. Check that in Lines subtab of the order, the order line has a mismatch between Operative Qty and Ordered Qty, only the Ordered Qty has been updated, which is incorrect.
Make sure both Operative Qty and Ordered Qty are updated in sync.
No tags attached.
depends on backport 0056036PR24Q3.1 closed cberner Operative quantity is not updated when changed in Purchase Order window - Model Mode process 
caused by feature request 0055463 closed cberner A Back office purchase screen multi-dimensional grid view should be added 
gif incorrect-operativeqty-modelmode.gif (1,333,006) 2024-07-17 09:04
https://issues.openbravo.com/file_download.php?file_id=20018&type=bug
Issue History
2024-07-17 09:04cbernerNew Issue
2024-07-17 09:04cbernerAssigned To => cberner
2024-07-17 09:04cbernerModules => Core
2024-07-17 09:04cbernerTriggers an Emergency Pack => No
2024-07-17 09:04cbernerFile Added: incorrect-operativeqty-modelmode.gif
2024-07-17 09:12hgbotNote Added: 0167048
2024-07-17 09:13cbernerRelationship addedcaused by 0055463
2024-07-17 09:14cbernerStatusnew => scheduled
2024-08-01 12:44hgbotResolutionopen => fixed
2024-08-01 12:44hgbotStatusscheduled => closed
2024-08-01 12:44hgbotFixed in Version => PR24Q4
2024-08-01 12:44hgbotNote Added: 0167598
2024-08-01 12:44hgbotNote Added: 0167599

Notes
(0167048)
hgbot   
2024-07-17 09:12   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1304 [^]
(0167598)
hgbot   
2024-08-01 12:44   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 193e659623c5092b20ccd4f26783e258c21a2fe3
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 01-08-2024 10:43:44
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/193e659623c5092b20ccd4f26783e258c21a2fe3 [^]

Fixes ISSUE-56035: Operative quantity is not updated when changed in Purchase Order window - Model Mode process

Model Mode process was missing to update Operative Qty in case of
update. It did it only on creating new lines.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/UpdateMultiVariantPurchaseOrderLines.java
---
(0167599)
hgbot   
2024-08-01 12:44   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1304 [^]