Thursday, November 30, 2023
2 changes · master
Code cleanup and technical improvements
The Point of Sale button system has been reorganized so common actions like refunds, notes, and customer selection are managed in one consistent place. This makes the interface easier to maintain and helps future POS-related enhancements integrate more reliably across localization and add-on modules.
Original PR description
The pos app currently uses an overly complicated system for managing the "control buttons" (the buttons from the left side of the screen, such as "Refund", "Note" etc. ). In this PR we refactor these buttons such that we now have a regular owl component called "ControlButtons" which is responsible for rendering all the buttons. Modules can introduce new buttons using the normal extension mechanisms, such as patching the component. https://github.com/odoo/odoo/pull/140723
Updates automated rental workflow checks so they continue to work after tooltip behavior changed. This helps keep test coverage reliable without changing the customer-facing rental process.
Original PR description
https://github.com/odoo/odoo/pull/131680 Task-3186593