Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048644Retail ModulesWeb POSpublic2022-02-21 14:152022-02-21 14:15
martinsdan 
Retail 
normaltrivialsometimes
newopen 
30Ubuntu 18.04.1 LTS
 
 
No
0048644: Random document type when Issuing Sales Order
The "Document Type for Shipment" configuration on the POS order is not used when using the Issue Sales Order on the touchpoint.
That configuration should be used and only if it doesn't exist the current approach should be used.

There is a workaround that is setting the desired document type as default.
As it is random depending on IDs, let's see the code.

GoodsShipmentGenerator.createNewGoodsShipment uses the FIN_Utility.getDocumentType to get the doc type instead of using the configuration in the Order doc type.
This can be changed.
Change the Shipment Generator to check if the configuration exists in the POS Order and use it. Otherwise keep the existing logic.
No tags attached.
Issue History
2022-02-21 14:15martinsdanNew Issue
2022-02-21 14:15martinsdanAssigned To => Retail
2022-02-21 14:15martinsdanTriggers an Emergency Pack => No

There are no notes attached to this issue.