Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056036Openbravo ERPA. Platformpublic2024-07-17 09:042024-08-01 12:44
cberner 
cberner 
normalmajorhave not tried
closedfixed 
5
 
PR24Q3.1PR24Q3 
Core
No
0056036: 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.
blocks defect 0056035 closed cberner Operative quantity is not updated when changed in Purchase Order window - Model Mode process 
Issue History
2024-07-17 09:14cbernerTypedefect => backport
2024-07-17 09:14cbernerTarget Version => PR24Q3.1
2024-07-17 09:15hgbotNote Added: 0167049
2024-08-01 12:44hgbotResolutionopen => fixed
2024-08-01 12:44hgbotStatusscheduled => closed
2024-08-01 12:44hgbotFixed in Version => PR24Q3
2024-08-01 12:44hgbotNote Added: 0167600
2024-08-01 12:44hgbotNote Added: 0167601

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

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

Fixes ISSUE-56036: 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
---
(0167601)
hgbot   
2024-08-01 12:44   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1305 [^]