Sunday, September 28, 2025
1 change · saas-18.3
Resolved issues and error corrections
Point of Sale users who do not have permission to delete cash in/out records will no longer be shown an unavailable delete option, and any blocked action now gives clear feedback. The update also fixes receipt printing errors for cash movement receipts, improving day-to-day POS reliability.
Original PR description
Before this commit, a user with "account.group_account_invoice" group could try to delete a cash in/out in the pos but had no feedback. Actually, his request was refused but we never tell the user why. We now display the error but also do not give the possibility to the user to delete a cash in/out if he does not have the right group. There was also errors appearing when printing the CashMoveReceipt. We call the ReceiptHeader in the CashMoveReceipt but without giving it a real order which could cause problems cause in the ReceiptHeader we consider the order that is given as a real one and we can call methods and stuff from the model. We now create a dummy order to give to the ReceiptHeader. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr