Daily updates from Odoo
Thursday, August 25, 2016
5 changes · master
New functionality added to Odoo
Businesses can now mark product attributes so they add descriptive options without creating separate product variants. This helps keep product catalogs simpler while still showing selected options on online shop sale orders.
Original PR description
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 A new field `create_variant` has been added on `product.attribute`. If unchecked, the attribute will not create variant. These attributes will be added on the sale order description if bought from the shop.
Enhancements to existing features
Website pages that use Google Maps now rely on a configured Google Maps API key, reflecting Google's requirement for API access. If no key is set, maps are hidden to avoid broken or unreliable map displays, and map marker assets are bundled so they continue to load correctly.
Original PR description
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
Odoo now provides a richer editor for XML and Python fields, making it easier to read and update technical configuration such as views, server actions, and website templates. The update also improves editor loading and fixes scrolling behavior in Firefox, reducing friction for users who maintain customizations.
Resolved issues and error corrections
This fix prevents errors when users change a product's standard price in inventory accounting. It corrects how price-change data is prepared and shows a clear message when required valuation accounts are missing, helping users understand what setup is needed.
Original PR description
- bad creation of a dictionnary with the dictionary comprehension syntax. correction of the syntax. - bad use of decimal precision function. call the correct function to get the decimal precision of products. - traceback when the valuation account was not defined on product category. raise exception when no valuation account, to explain the user why he can't change the price.
Timesheet validation no longer fails when sales-related features are not installed or when there are no entries to validate. This helps users validate timesheets more reliably and receive clearer feedback when there is nothing to process.
Original PR description
- This the bug comes from the commit rev 152fbaa1 where the '_compute_analytic()' function is called in 'timesheet_gird' which not depends from sale module. - Extend 'timesheet_grid.validation' in timesheet_gird_sale to launch the '_compute_analytic()' function only when module sale is installed - Add a condition before the use of 'min()' function, because it throws a 'ValueError' exception if an empty list is passed in argument