Monday, August 19, 2024
3 changes · 17.0
Resolved issues and error corrections
Website editors can now add a new field to a form even after all existing fields have been removed. The form editor falls back to the standard label width, preventing an error dialog in scenarios such as the eCommerce extra info step.
Original PR description
When adding a new field to a website form, the label width is copied from the first label inside the form. This fails if all fields have been deleted. One form where all fields can be deleted is the extra info step in eCommerce. This commit fixes this by using the default "200px" width (which is the default value inside the form templates) when there are no more field labels inside the form. Steps to reproduce: - Install eCommerce. - In Settings/Website, enable the extra info step. - Go in shop, add a product to the cart and proceed until you reach the extra info step. - Edit the extra info page. - Remove all form fields. - Add a field to the form. => An error dialog was displayed. opw-4102127
Users can now click and select empty cells in tables within the web editor, making table editing more reliable. The cursor behavior on selected cells was also adjusted to feel less confusing while editing.
Original PR description
**Current behaviour before PR:** In table, empty single cell is not selectable through mouse. This happens because isVisible function fails to check if cell is empty or not. **Desired behaviour after PR:** Now it is possible to select empty cell through mouse. Now we are using isEmptyBlock to check if cell is empty or not. task-4067376 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects how income accounts are handled in the Dutch localization module. A test was updated to properly account for changes made to the account type selection logic in the community version, ensuring the system no longer relies on simply selecting the first available income account.
Original PR description
Test needed to be adapted as it very naively took the first income account, and we change that in community. Forward-Port-Of: odoo/enterprise#68297 Forward-Port-Of: odoo/enterprise#67637