Saturday, July 16, 2022
2 changes · master
Resolved issues and error corrections
This fixes an error that prevented users from opening the debug menu. The change restores access to debugging tools used for support and troubleshooting, reducing interruptions for administrators and implementers.
Original PR description
Description of the issue/feature this PR addresses: Cannot open the debug menu due to this error: `Cannot read property 'view_id' of undefined`. The error occurs on `master` branch. I Also checked the `runbot`, with the same issue (see the screenshot). Current behavior before PR:  Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Miscellaneous changes
Since this commit [1], when you select the Header position option and set it to "Over The Content", the change is not saved if you did not edit something else in the page too. Indeed, now that the "save" works correctly (and that it no longer saves the page every time). It does not detect the change made by this option which is to add a class on the '#wrapwrap' element. (The editor looks for changes inside the wrapwrap but not on it). With this commit, we add the 'o_dirty' class on th
Original PR description
Since this commit [1], when you select the Header position option and set it to "Over The Content", the change is not saved if you did not edit something else in the page too. Indeed, now that the…
Since this commit [1], when you select the Header position option and set it to "Over The Content", the change is not saved if you did not edit something else in the page too. Indeed, now that the "save" works correctly (and that it no longer saves the page every time). It does not detect the change made by this option which is to add a class on the '#wrapwrap' element. (The editor looks for changes inside the wrapwrap but not on it). With this commit, we add the 'o_dirty' class on the '#wrap' when a page option is changed in order to notify the editor that the page should be saved when the "save" button is clicked. [1]: https://github.com/odoo/odoo/commit/bab673488e185ddd7792aedecc3870663290fed3 task-2871426 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#95958 Forward-Port-Of: odoo/odoo#93440