Openbravo Issue Tracking System - POS2
View Issue Details
0052725POS2POSpublic2023-06-12 17:152023-08-21 12:48
nicolasuriz 
SABARINATH P 
urgentmajoralways
closedunable to reproduce 
5
 
 
marvintm
No
0052725: “Translated Product name” is not updated in WebPOS
When a product has a translation defined in the Back-Office (for its product name). When the user modifies the translation, the modification in the “Translated Product Name” is never displayed in WebPOS (in French as in English).

The translation is never displayed in the WebPOS but there is no issue for the “Product name”. For a non translated product, changing the “Product Name” in the BackOffice changes the name in WebPOS. So it happens when it exists one translation at least for the product.
Have one product configured with a translation added to the product name.

Load the POS2 to check the product name in the POS2.
Then, go the the Backoffice and modify the name, it does not matter in English or in French.
Check again in the POS2 that the changes are not applied even though a Refresh Masterdata action is done.
In WebPOS REACT, after “Refresh MasterData” operation : The new “Product name” is displayed in POS2
No tags attached.
Issue History
2023-06-12 17:15nicolasurizNew Issue
2023-06-12 17:15nicolasurizAssigned To => Retail
2023-06-12 17:15nicolasurizTriggers an Emergency Pack => No
2023-08-18 15:36SABARINATH PStatusnew => scheduled
2023-08-18 15:40SABARINATH PAssigned ToRetail => SABARINATH P
2023-08-21 12:48marvintmReview Assigned To => marvintm
2023-08-21 12:48marvintmNote Added: 0153716
2023-08-21 12:48marvintmStatusscheduled => closed
2023-08-21 12:48marvintmResolutionopen => unable to reproduce

Notes
(0153716)
marvintm   
2023-08-21 12:48   
We cannot reproduce this problem. There is already an Event Handler that is updating the main product record in case its translation is changed:

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/214205ed3a8fca2e521e978efa7121020fd603d8#7a826cb38a635ad0b99cefe615a00ee7f86fe032 [^]

With this event handler, the product is updated and then it is loaded by the POS in the next incremental refresh.