Saturday, March 23, 2024
1 change
Enhancements to existing features
Point of sale receipt data is now prepared without relying on the broader POS session object. This makes receipt printing easier to maintain and more consistent across country-specific POS modules, with no expected change for cashiers or customers.
Original PR description
The method export_for_printing is used to export the order data to be printed in the receipt. This method was using the pos object to get information about the company, the cashier, the currency, etc. This commit removes the use of the pos object from the export_for_printing