Tuesday, September 28, 2021
2 changes · master
Enhancements to existing features
Point of Sale cash opening and session closing are now managed directly in the POS interface, giving staff guided cash counting and a clearer overview of orders, payments, and cash movements. Cash control is automatically enabled when cash payments are used, improving consistency and reducing manual configuration for managers.
Original PR description
The opening cash control has been refactored and the closing of the session is now happening in the POS UI. This also leads to a cash control in the UI during the closing. The advanced cash control…
The opening cash control has been refactored and the closing of the session is now happening in the POS UI. This also leads to a cash control in the UI during the closing. The advanced cash control is no longer a setting to activate in the config by the user but a computed field based on the presence of a cash payment method. We force the user to always have it now. The opening cash control has been revamped with the addition of a new money calculator (MoneyDetails) allowing the user to easily compute how much money he has based on his bills. The closing control has been converted into a popup which allows the users to get an overview of his session details (about orders, payments, payment methods, cash moves, ...). If the cash_control has been set to True, the user still needs to count his money by introducing it or using the new calculator. When trying to close the session, if it fails, depending on the error the user get, he can be redirected to the back end to manually close the session. At this point, the user is not able to open the POS UI. (In order to fully bring the closing of the session in the front end, all the error handlings need to be brought to the front end as well which takes a lot more time.) Rescue session can only be closed through the back end and the closing cash control is automatically being computed without the user's involvement. This avoid any cash profit/loss in the journals. task-2456424 V15 backport PR https://github.com/odoo/odoo/pull/76333
Users can now set access more precisely for individual documents, helping teams keep sensitive files limited to the right people. Documents and shared links no longer always need to belong to a folder, making document organization and sharing more flexible.
Original PR description
This commit adds a more granular option to control the access to documents. `folder_id` is no longer a required field on `documents.document` and on `documents.share`. task-2257514