Thursday, November 30, 2023
3 changes · master
Code cleanup and technical improvements
The point-of-sale product screen now uses a simpler, more standard way to manage buttons such as Refund and Note. This makes the interface easier to maintain and extend, and also resolves a display issue when customer names are very long.
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.
This also fixes the issue arising when the partner name is too long:

Task: 3580519
https://github.com/odoo/enterprise/pull/50039
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe 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