Friday, January 14, 2022
1 change · master
New functionality added to Odoo
Users can now insert 3-star or 5-star rating widgets from the editor powerbox and update the rating by clicking the stars, even when the content is read-only. This also restores read-only checklist ticking, making quick feedback and status updates easier without entering edit mode.
Original PR description
This adds two new widgets to the powerbox, which allow the user to quickly insert 3 or 5 stars, then click on them to color them gold. Similar to checklists, this allows the user to click the powerbox stars widgets even in readonly mode, so as to change a rating without going in edit mode. While implementing this it became apparent that the checklist readonly checking feature was broken so this fixes it too. In order to be able to import Odoo Editor utils into field_html, the widget was turned into a js module with modern imports. task-2575449 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr