Daily updates from Odoo
Monday, November 26, 2018
11 changes · master
New functionality added to Odoo
This update adds broad automated test coverage for key accounting reports, including partner ledgers, aged receivables and payables, trial balance, tax reports, balance sheet, and profit and loss. It also fixes a small display issue where comparison percentages could show as '-0.0%', helping reports remain accurate and professional.
Enhancements to existing features
This change adds a safeguard in Odoo's test utilities to flag form test scenarios that use embedded one-to-many subviews, which are not currently supported. It helps catch unreliable test configurations earlier so future changes are less likely to hide incorrect behavior.
Original PR description
A trivial assertions hints there are already multiple tests which use the server-side form on views with embedded sub-views (mrp, purchase_stock, sale, sale_mrp, stock_dropshipping), however, it's possible these happen not to misbehave (especially since we've stopped recursing into subviews while assuming they're the main view), or these could be embedded views for m2ms in which case they're not relevant and the assertion is a false positive.
Sales orders now show warehouse information only to users who are allowed to work with multiple warehouses. This keeps the sales screen simpler for other users while still giving authorized users the warehouse details they need.
Original PR description
Task : https://www.odoo.com/web?#id=1896087&action=327&model=project.task&view_type=form&menu_id=4720 Pad : https://pad.odoo.com/p/r.c62737341a72f0c60ef4a26d8c9dc708
The Purchase settings now use the term “received quantities” instead of “delivered quantities” for invoicing policy options. This makes the setting easier to understand in a purchasing context, where goods are received from suppliers rather than delivered to customers.
Original PR description
This commit is change the name of delivered quantities to received quantities in invoicing policy in settings of purchase module. Task : https://www.odoo.com/web#id=1871494&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad Link : https://pad.odoo.com/p/r.cde7ed288f24c4a52e3753af33b8d352 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The wording in several stock-related screens and reports has been updated from “Transfer” to “Operation” to better match how users understand the process. This reduces confusion with internal transfers and makes stock, barcode, and quality control workflows clearer.
Original PR description
Pad:https://pad.odoo.com/p/r.f4ae867ccf1f0e573ba05206c4718ac5 Task:https://www.odoo.com/web#id=1878634&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 …fer(s) in Operation(s)
Resolved issues and error corrections
The description shown for the MRP II module was corrected to fix a typo and improve clarity. This helps users better understand the module when browsing or configuring apps, with no change to business workflows.
Original PR description
Task link : https://www.odoo.com/web#id=1893027&action=327&model=project.task&view_type=form&menu_id=4720 Pad link : https://pad.odoo.com/p/r.ff78b4702fc1e13fdeb27291fa51cccc This commit is related to task ID : 1893027 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
When a vendor is selected on a purchase requisition, Odoo now uses that vendor's configured product code and product name when available. This helps purchasing teams produce clearer vendor-facing documents and reduces manual corrections.
Original PR description
… exists in the supplier.info of the product, use the vendor code and vendor name 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
This change removes sample currency-rate data from the module because it was only needed for automated testing. The test now creates its own required data, keeping the module cleaner without affecting regular users.
Original PR description
The only purpose of these demo data is to be used in a test, so they should simply be created in the test.
A typo was corrected in the displayed summary for the MRP II module. This improves the clarity and professionalism of the module description without changing functionality.
Original PR description
This commit is related to task ID : 1893027 Task link : https://www.odoo.com/web#id=1893027&action=327&model=project.task&view_type=form&menu_id=4720 Pad link : https://pad.odoo.com/p/r.ff78b4702fc1e13fdeb27291fa51cccc
Code cleanup and technical improvements
This change reorganizes how shared style resources are grouped for web, survey, and website slides. It reduces duplicate setup and helps pages consistently use the intended design settings without changing visible features.
Original PR description
* survey, website_slides While not changing their name or their amount, this commit reorganizes the assets helpers to: Avoid all file duplicates in different helpers…
* survey, website_slides While not changing their name or their amount, this commit reorganizes the assets helpers to: Avoid all file duplicates in different helpers ---------------------------------------------- Before, we had to put some files in different helpers, like our bootstrap mixin overrides which were in the _assets_utils template and in the _assets_bootstrap template. Enforce the use of an helper when using bootstrap ------------------------------------------------- Bootstrap functions, variables and mixins are now out of the _assets_bootstrap template, which now only contains bootstrap css rules and our bootstrap fixes and extensions. Allow using the correct bootstrap utils in all assets ----------------------------------------------------- In some assets (especially editor ones), we may want to use bootstrap variables even though bootstrap is not included in those. This worked before but using *default* bootstrap variables. Now, our overrides can be properly included if necessary. Note: this commit may also be a first step to allow for backend bootstrap and frontend bootstrap to co-exist.
This update reorganizes internal asset helper references used by financial reports and documents. It should not change day-to-day functionality, but it helps keep the system easier to maintain and align with broader platform cleanup work.
Original PR description
* account_reports, documents See https://github.com/odoo/odoo/pull/28204