Monday, August 3, 2020
3 changes · master
Resolved issues and error corrections
This fixes an issue where buttons meant to close a dialog did not always work. Users can now dismiss dialogs as expected, making the interface more consistent and reducing confusion.
Original PR description
In a dialog, a button with `close="1"` should close the dialog when clicked. It currently only works if the dialog is a subview. Co-authored-by: fleodoo <fle@odoo.com> Co-authored-by: aab-odoo <aab@odoo.com> -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A broken and unnecessary edit button for blog tags has been removed from the website blog interface. This avoids user confusion and simplifies the underlying page setup without changing core blog functionality.
Original PR description
The button was broken by [1] on top of now being useless anyway. This commit simply removes it and takes the opportunity to share some duplicated XML code at the same time. [1]: https://github.com/odoo/odoo/commit/bdcc1ea9e729dc0e3c0bc28462db97e569119cda
Odoo now handles a Python 3.8.4 change that could prevent some QWeb views from validating correctly. This helps keep installations compatible with upcoming Debian versions that use this Python release by default.
Original PR description
In python 3.8.4, when the ast.Name method is used with either `True`, `False` and `None`, a ValueError is raised [1]. Because of that, Odoo fails to validate some Qweb views when used with this particular Python version. This fix is needed as Python 3.8.4 will be the default in the next Debian version [2]. This PR should be backported at least down to 13.0 after short incubation period. The backport PR is #54785 1: https://docs.python.org/3/whatsnew/changelog.html#id7 2: https://packages.debian.org/bullseye/python3.8