Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0058208Openbravo ERP07. Sales managementpublic2025-03-11 17:282025-03-14 13:59
sofidossant 
Retail 
normalminoralways
closedno change required 
5
pi 
 
marvintm
OBPS
Core
121495
No
0058208: No Discounts in pos2
For the same product from backoffice the discount is applied, but not from POS2.

The error is in the order in backoffice, we need to remove the discount
Go to backoffice, select Price List , in my case we selected The White Valley Gruop Sales Price List, now select one product and modify Unit Price and List price, example: Alpine poles, Unit price:120,00 , List price : 150.

Now in backoffice performs a sale order with the newly modified product.
Select the business partner "VBS Customer" (Anonymous)
You will see that the discount is "20"

Go to pos2 and make the same sale order, select VBS Customer and switching the product "Alpine Poles". you will see that we don't have any discount

No tags attached.
jpeg WhatsApp Image 2025-03-11 at 13.16.21.jpeg (179,507) 2025-03-11 17:31
https://issues.openbravo.com/file_download.php?file_id=21034&type=bug
jpeg

jpeg WhatsApp Image 2025-03-11 at 13.17.55.jpeg (147,298) 2025-03-11 17:31
https://issues.openbravo.com/file_download.php?file_id=21035&type=bug
jpeg

jpeg WhatsApp Image 2025-03-11 at 13.18.34.jpeg (202,530) 2025-03-11 17:31
https://issues.openbravo.com/file_download.php?file_id=21036&type=bug
jpeg
Issue History
2025-03-11 17:28sofidossantNew Issue
2025-03-11 17:28sofidossantAssigned To => Triage Omni OMS
2025-03-11 17:28sofidossantOBNetwork customer => OBPS
2025-03-11 17:28sofidossantModules => Core
2025-03-11 17:28sofidossantSupport ticket => 121495
2025-03-11 17:28sofidossantTriggers an Emergency Pack => No
2025-03-11 17:31sofidossantFile Added: WhatsApp Image 2025-03-11 at 13.16.21.jpeg
2025-03-11 17:31sofidossantFile Added: WhatsApp Image 2025-03-11 at 13.17.55.jpeg
2025-03-11 17:31sofidossantFile Added: WhatsApp Image 2025-03-11 at 13.18.34.jpeg
2025-03-12 19:59aferrazAssigned ToTriage Omni OMS => Retail
2025-03-13 07:39marvintmReview Assigned To => marvintm
2025-03-13 07:39marvintmNote Added: 0176757
2025-03-13 07:39marvintmStatusnew => closed
2025-03-13 07:39marvintmResolutionopen => no change required
2025-03-13 14:25sofidossantStatusclosed => new
2025-03-13 14:25sofidossantDescription Updatedbug_revision_view_page.php?rev_id=29362#r29362
2025-03-13 14:25sofidossantNote Added: 0176797
2025-03-14 13:59marvintmNote Added: 0176856
2025-03-14 13:59marvintmStatusnew => closed

Notes
(0176757)
marvintm   
2025-03-13 07:39   
The "Discount" field in the line is supposed to represent a manual price modification during the creation of the sales order. The behavior in Enyo was inconsistent, and in React it is consistent with this principle:
- If the product list price was different from the unit price, there is no actual real discount applied in the POS, so it is not set
- However, if the user changes the price of the line via the "Price modification" button in the POS, it is set to the correct value
(0176797)
sofidossant   
2025-03-13 14:25   
Can you delete the discount in the backoffice then?

Thanks
(0176856)
marvintm   
2025-03-14 13:59   
As I explained in my previous comment, the "Discount" field cannot be deleted, because it is relevant and necessary. It will be filled when there is a manual price modification done by the user.