Monday, November 5, 2018
7 changes · master
Enhancements to existing features
This update improves how accounting records are searched when checking reconciliation information. It should make related accounting operations more responsive, especially in databases with many journal items.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Inventory transfers now hide move lines that are already fully included in a package, reducing duplicate or confusing information for users. This makes packing workflows clearer and helps staff focus only on items that still need attention.
Original PR description
[IMP] stock: don't show move fully in package When the move lines in a move are all linked to a package level, we don't want to see the move anymore. We cannot keep only a domain on moves their-selves as it depends on the move lines linked to it. So we use a compute field to filter the moves to show, and the inverse function just appends the new/modified moves to the move_lines. TASK-ID: 1865671
Businesses can now configure each Point of Sale to show only selected product categories. This makes it easier to run multiple registers or locations with different offerings and helps staff find the right products faster.
Original PR description
Before this commit, it was not possible to effectively limit the available products when a company had several POS with different product offers. This commit allows limiting the available product…
Before this commit, it was not possible to effectively limit the available products when a company had several POS with different product offers. This commit allows limiting the available product categories for a single POS. Now, a company can serve different POS with different product offerings. Anecdotal Note: This was especially annoying as the POS only shows 100 products. If those happened to be the products not served by a signle POS, the only work around was using the search bar (on a tablet?!?) **Description of the issue/feature this PR addresses:** - POS-product serving is not a company wide configuration syntax - Multiple POS _can_ serve different products (usually: rather categories) - POS showing only 100 items (which is good) - This situation became unmanageable for the operator with more than a hand full diverging products. **Current behavior before PR:** - All POS of an instance serve the same products **Desired behavior after PR is merged:** - Every POS can be limited in regard to the product categories served. **Note:** Please do not close, even if not immediately accepted (`wishlist` tag). This PR is meant to be carried along and actively maintained, until this semantic will be completed this way or another. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @xoe-labs
This update improves how accounting asset depreciation records are searched and linked internally. It should help asset-related accounting operations run more efficiently, especially where many depreciation lines are involved.
This update adds clearer internal labels to subscription screen sections so future customizations can target the right areas more reliably. It does not change day-to-day behavior for users, but it helps reduce the risk and effort of maintaining tailored subscription views.
Original PR description
Description of the issue/feature this PR addresses: No names on groups for easy and clean `xpath` expressions. Current behavior before PR: There are no names on the groups which makes it hard to write safe `xpath` expressions. Desired behavior after PR is merged: There are names on the groups which makes it easy and safe to write `xpath` expressions. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Timesheet app description now includes a Learn More button that links users to the related webpage. This makes it easier for users evaluating or configuring the app to access helpful product information directly from the module page.
Original PR description
Done : Added website to the timsheet manifest Purpose: Have the Learn More button in the module description Task : https://www.odoo.com/web#id=1888702&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720 I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fix changes the order used when updating one-to-many linked records so old entries are removed before replacement entries are added. This helps avoid database constraint errors during updates or module upgrades, improving reliability for affected operations.
Original PR description
After 12744bc81ebdaa1671a953c14ba54c637d6a9255, o2m operations are fully batched, and deletions are processed last when the operations are flushed, regardless of the order in which they were…
After 12744bc81ebdaa1671a953c14ba54c637d6a9255, o2m operations are fully batched, and deletions are processed last when the operations are flushed, regardless of the order in which they were specified by the write() or create() call. This carries a risk of violating [non-deferred] unique SQL constraints, when the operations for deleting previous lines and re-creating new ones are processed in the same batch. This patch executes the deletions before other operations during a flush, which should be safer with regard to SQL constraints. An extra constraint is added in test_performance.line to simulate this corner case, then covered by an extra unit test. Another unrelated test had to be altered to avoid violating the new constraint. A similar error can be reproduced easily by upgrading the `project` module in master, due to [the unique constraint](https://github.com/odoo/odoo/blob/ccc42f161d9554dcf8c0eb1fed0ea6ff5a4336b5/odoo/addons/base/models/ir_actions.py#L288-L289) on `ir.actions.act_window.view`, that gets violated when processing the batch write on [this o2m](https://github.com/odoo/odoo/blob/ccc42f161d9554dcf8c0eb1fed0ea6ff5a4336b5/addons/project/views/project_views.xml#L394-L396). **Note:** the new test might best be moved to `test_new_api`, though it seemed sensible to add it among the new tests introduced by 12744bc81ebdaa1671a953c14ba54c637d6a9255