Daily updates from Odoo
Navigate
Branch
Monday, March 5, 2018
10 changes
Enhancements to existing features
Website editors now see a clearer drop area when building pages, and missing images use a more recognizable placeholder. Product images in edit mode also show a hand cursor instead of a zoom cursor, making editing interactions feel more intuitive.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web#id=40071&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad: https://pad.odoo.com/p/r.d3996640c7b56eb3b6e7354be8e66a5b 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
Resolved issues and error corrections
This fixes a problem that could interrupt data loading when date and time values were used in setup instructions. It helps prevent avoidable failures during installation, updates, or data imports.
Original PR description
…the datetime object in function tag in eval attribute. issue: https://www.odoo.com/web#id=772614&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720 Description of the issue/feature this PR addresses: when trying to put a DateTime object in eval attribute of function tag, it will generate traceback and won't output properly. 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
Fixes an issue in the web editor where double-clicking an image did not select it as expected. This makes editing website or content images more predictable and reduces friction for users making visual updates.
Original PR description
Issue: https://www.odoo.com/web#id=815165&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A scheduled cleanup issue in one temporary data model no longer stops cleanup for all other models. This improves reliability of background maintenance and helps prevent unnecessary buildup of temporary records.
Original PR description
If the during the autovacuum of transient model, one model raise during the vacuum, all model are not vacuumed. This PR prevent that. @odony Idea come from after this issue : https://github.com/odoo/odoo/pull/23454 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes issues in the Mail chat window where pressing Escape after using the attachment button could trigger unintended behavior and attachment previews could overlap the chat area. Users should have a smoother, less confusing chat experience when adding or previewing attachments.
Original PR description
Issue: https://www.odoo.com/web?#id=777937&view_type=form&model=project.issue&action=609&menu_id=4720 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
The generic chart of accounts demo data now sets the appropriate journal value when creating vendor bills. This prevents sample vendor bills from being created with the wrong journal, making demo and testing environments more reliable.
Original PR description
issuse : https://www.odoo.com/web?#id=767748&view_type=form&model=project.issue&action=609&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes several online shop issues where changing product quantities could show outdated or incorrectly multiplied prices, especially with stock features, optional products, or list-style variants. This helps customers see accurate pricing before adding items to their cart, reducing confusion and order errors.
Original PR description
There is several issue happening when changing quantity: 1) if website_sale_stock is installed, the displayed price is not updated when changing quantities. 2) if the "Add to Cart" price is not…
There is several issue happening when changing quantity:
1) if website_sale_stock is installed, the displayed price is not
updated when changing quantities.
2) if the "Add to Cart" price is not updated, it erroneously displays
the price multiplied by the quantity.
3) when prices are updated, it only update attribute_value_ids.
4) when variant are displayed as list view, visually the last list item
is selected instead of the first, also changing quantity doesn't
update price as it should be given pricelist.
The first issue is caused by invalid JSON in data-attribute_value_ids
attribute. The code modify the `.data('attribute_value_ids')` thinking
it will be permanent. But if the value was invalid JSON we always parse
it on the fly inside a temporary object so the object is never changed.
The second issue is because originally, the "data-attribute_value_ids"
inside "Add to Cart" was set wrongly (when rendering the view) because
get_attribute_value_ids got the website_price multiplied by quantity.
The third issue was even with website_sale_stock is not installed
`.data('attribute_value_ids')` was only updated for one of the possible
multiple ones in the page.
With this change, we had json.dumps to ensure data-attribute_value_ids
is good JSON, and we correct errors so it is fixed for instance only
updating sources without updating website_sale and website_sale_options
modules.
note: when views are updated, this also solves a bigger issue when
python2 is used (because attribute_value_ids contained u'text' strings.
master equivalent of #23392 without js crutches for xml not updated
opw-1816479This fix restores the save and cancel buttons when users translate a website page in the editor. It helps prevent confusion and ensures translators can confidently keep or discard their changes.
Original PR description
…hile translating a page Description of the issue/feature this PR addresses: issue link https://www.odoo.com/web#id=804662&view_type=form&model=project.issue&action=963&active_id=681&menu_id=4720 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
The web interface no longer reloads a record when a button action fails. This prevents unnecessary refreshes and helps users keep their current screen state after an error.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Before this fix, when a _callButtonAction failed, it would reload the model. Desired behavior after PR is merged: After this fix we will not reload if a _callButtonAction fails -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes the Mexican electronic invoicing payment report so it points to the correct updated template. It helps ensure payment documents render properly after a related template change.
Original PR description
After [this](https://github.com/odoo/odoo/commit/8796211c36d1d50c4bbfeaf5b43693df582564e5#diff-ef65f23149c84a79335f351915ad13f8) commit, the template was changed. Now is updated, and call the correct template.