Sunday, October 6, 2024
2 changes · master
Miscellaneous changes
Steps to reproduce ================== - Go to contacts - Open any record - Open studio - Click on the "More" button at the top right next to other buttons - A dropdown is displayed containing more buttons - Try clicking on one of them => Nothing happens Cause of the issue ================== The dropdown is outside `this.viewRenderer.el`. Clicks on it are ignored. This also causes studio specific styling to not be applied. Solution ======== The ButtonBox component from
Original PR description
Steps to reproduce ================== - Go to contacts - Open any record - Open studio - Click on the "More" button at the top right next to other buttons - A dropdown is displayed containing more buttons - Try clicking on one of them => Nothing happens Cause of the issue ================== The dropdown is outside `this.viewRenderer.el`. Clicks on it are ignored. This also causes studio specific styling to not be applied. Solution ======== The ButtonBox component from web displays maximum number of buttons outside the dropdown. Then remaining buttons are displayed inside the dropdown. We can copy this approach, but instead of rendering extra buttons inside the dropdown, we can show them on the following line. opw-4164661 Forward-Port-Of: odoo/enterprise#70504
When 'Show reserved lots/SN' is unticked on the operation type, we don't want to show the lot/serial name when there's only a single line and it's not picked/scanned yet. Forward-Port-Of: odoo/enterprise#71257 Forward-Port-Of: odoo/enterprise#70917
Original PR description
When 'Show reserved lots/SN' is unticked on the operation type, we don't want to show the lot/serial name when there's only a single line and it's not picked/scanned yet. Forward-Port-Of: odoo/enterprise#71257 Forward-Port-Of: odoo/enterprise#70917