Monday, August 19, 2019
3 changes · master
Resolved issues and error corrections
Receipt styling now loads correctly in Point of Sale, so printed receipts use the expected layout. This prevents formatting problems that could cause receipt printing to fail for cashiers and customers.
Original PR description
The CSS for receipts to be printed was not loaded correctly in the POS. The format of the receipt was wrong and the printing failed. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Returned delivery items are now correctly marked so sales orders automatically reduce the delivered quantity when a refund return is created. This keeps sales and inventory records aligned and helps prevent incorrect refund or fulfillment information.
Original PR description
When create a return from a delivery order, the field `to_return` must be True, so the delivered quantity of the sale order will be updated by default. But it wasn't the case before this commit ! Thus, adds a test to be aware in the case something goes wrong again. Task #2050183
Merchant receipts in Point of Sale are now sent to the IoT Box using the correct check. This ensures businesses receive the expected printed merchant copy after payments, reducing missed paperwork and manual reprints.
Original PR description
We didn't check the correct variable before sending the receipts for merchants to the IoT Box to be printed.