Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0046656Openbravo ERP07. Sales managementpublic2021-05-13 10:442021-05-14 07:34
santi_lozano 
Retail 
highmajoralways
closedno change required 
5
 
 
marvintm
Core
No
0046656: Service product edited price reseted after assigning it to a product on a sales order
When the user edits a price of a service product (configured as editable price yes), when he assigns it to a product on a sales order (through button Select Order Line) the price is reseted becoming its initial value
1) Access to livebulds tip version with modules, select The White Valley Group Admin as role
https://livebuilds.openbravo.com/retail_modules_pgsql_pi/security/Login [^]

2) Go to Product window and configure the product with Search Key = WVG/S000048, to be as in images attached (1ServiceProd,2ServiceProd and 3ServiceProd). Fields to change: Editable Price = yes, Included Product Categories = All excluding defined, Included Products = All excluding defined, Quantity Rule = Unique quantity

3) On Sales Order window create a new one, with header as in image (4productos)

4) Add a line for product Alpine poles with Delivery Mode "Home Delivery" (image 4productos)

5) Add a line for product service 48h Delivery (the one of step 2), edit price to be 10 (image 4Productos)

6) Having selected the line for product 48h Delivery, click on Select Order Line button.
Select on popup Alpine Poles product and then click on Done. (image 5SelectOrderLine)

7) Results: price modified in step 5 is overwritten (it becomes 50 again or its initial price) after assigning the service to a product
No tags attached.
png 1ServiceProd.PNG (73,531) 2021-05-13 10:44
https://issues.openbravo.com/file_download.php?file_id=15723&type=bug
png

png 2ServiceProd.PNG (60,360) 2021-05-13 10:45
https://issues.openbravo.com/file_download.php?file_id=15724&type=bug
png

png 3ServiceProd.PNG (61,758) 2021-05-13 10:45
https://issues.openbravo.com/file_download.php?file_id=15725&type=bug
png

png 4Productos.PNG (91,330) 2021-05-13 10:45
https://issues.openbravo.com/file_download.php?file_id=15726&type=bug
png

png 5SelectOrderLine.PNG (94,327) 2021-05-13 10:45
https://issues.openbravo.com/file_download.php?file_id=15727&type=bug
png
Issue History
2021-05-13 10:44santi_lozanoNew Issue
2021-05-13 10:44santi_lozanoAssigned To => Triage Finance
2021-05-13 10:44santi_lozanoFile Added: 1ServiceProd.PNG
2021-05-13 10:44santi_lozanoModules => Core
2021-05-13 10:44santi_lozanoResolution time => 1622671200
2021-05-13 10:44santi_lozanoTriggers an Emergency Pack => No
2021-05-13 10:45santi_lozanoFile Added: 2ServiceProd.PNG
2021-05-13 10:45santi_lozanoFile Added: 3ServiceProd.PNG
2021-05-13 10:45santi_lozanoFile Added: 4Productos.PNG
2021-05-13 10:45santi_lozanoFile Added: 5SelectOrderLine.PNG
2021-05-13 19:32vmromanosNote Added: 0128075
2021-05-13 19:32vmromanosAssigned ToTriage Finance => Retail
2021-05-14 07:34marvintmReview Assigned To => marvintm
2021-05-14 07:34marvintmNote Added: 0128079
2021-05-14 07:34marvintmStatusnew => closed
2021-05-14 07:34marvintmResolutionopen => no change required

Notes
(0128075)
vmromanos   
2021-05-13 19:32   
Dear Retail team, I forward you this issue.

It seems the reporter is expecting that the "Editable Price = yes" defined at Product level is respected by the Select Order Line process.

The problem is that this "Editable Price" field is defined in the POS, so the Select Order Line process (Core) won't see it.

I have analyzed this java class and it doesn't define any hook infrastructure, so it's very difficult to modify from outside.

Most probably this issue should be rejected as this "Editable Price" seems to be something that works only from the POS, but I let you take that decision as maybe I'm missing something else.
(0128079)
marvintm   
2021-05-14 07:34   
The "Editable price" flag is added by the Retail modules, and only works in the context of the WebPOS.