Daily updates from Odoo
Wednesday, August 7, 2019
16 changes
Enhancements to existing features
Country state and region data has been moved from several country-specific localization apps into Odoo’s shared base data. This makes address information more consistent across deployments and removes state lists that are no longer needed under the updated address format.
Original PR description
task: https://www.odoo.com/web?#id=1967713&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 pad: https://pad.odoo.com/p/r.75eaaf5a56643525833166ded74b1b8f - states have been put in 'base'-> 'res.country.state.csv' - According to new address format, uncessary states have been discarded from 'base' -> 'res.country.state.csv'. - za (south africa), id (indonesia), ar (argentinia), uk (united kingdom), ro (romania), pl (poland) have been discarded from 'base' -> 'res.country.state.csv'.
Warehouse users can now paste a list of serial numbers into a stock move and have Odoo split them across the relevant lines automatically. This reduces manual entry during receipts and creates extra lines when the pasted list is longer than the existing lines.
Original PR description
User can enter multiple SN in stock move list view. It will split the value and set the `lot_name` for each move line. If it has more values than move lines, it will create a new move line for each additionnal value. Also, as we need a line break char to split the field value, we need the field is a testarea as a simple input can't have a value with multiple lines. So, the `lot_name` need to be a field text instead of char. Task #2000944 ------------ **!!! WARNING !!!** Don't merge this PR before the XMO's commit was forward-ported (present temporary on this branch to make tests work but must be removed).
Stock users can now choose how many lines receive generated serial numbers in the assignment wizard. This makes it easier to process a single stock move in batches with different serial number starting points, reducing manual work and improving flexibility.
Original PR description
Before this commit, when user generates SN with the Stock Assign Serial Numbers wizard, a SN name was set on each move line. Now, user can define how many lines he/she wants to set. Thus, since SN name aren't set on all lines, it can be set in multiple times. For example, with a move having 10 move lines, user can set an SN starting with "SN-07" on the four first line, then make a second assignement starting with "SN-42-B" for the remaining lines. Task #2029069
Incoming receipts no longer show automatically generated detailed operation lines by default, so warehouse users are guided to create the lines they actually need instead of editing pre-filled ones. Newly created lines still use the correct putaway destination when applicable, improving accuracy in receiving workflows.
Original PR description
For picking of incoming type, changes behavior so user have to create new move lines instead of modify pre-generated move lines. See commit messages for more details.
Inventory transfers no longer show a separate Assign Owner button. When an owner is set on a transfer, the system now applies it automatically to the related stock move lines during validation, reducing manual steps and helping keep ownership data consistent.
Original PR description
Removes the "Assign Owner" button from picking form view. Now, the stock move lines owner is set when the picking is validated (if the owner field is set of course). Task #1860575
Sales teams can now open a stock information popup directly from draft sales order lines to see quantity on hand, available quantity, and forecasted quantity for the scheduled date. This replaces less helpful stock warnings and improves accuracy by using the relevant warehouse and expected delivery date.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web#id=2003485&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://pad.odoo.com/p/r.8e46db8a8543b52081911e094c5b0ef1 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Activity-related filters are now hidden from regular search views while still working behind the scenes when users navigate from activity reminders. This reduces clutter in search menus across several apps without changing the underlying activity workflow.
Original PR description
Task: https://www.odoo.com/web#id=2036392&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.505b86388fde228a28d98781064a2dde
Survey editors can now add sections directly in the survey form without opening a separate pop-up window. This streamlines survey creation and improves usability when organizing questions into sections.
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
When recording a payment for an invoice, Odoo now only suggests bank or cash journals that belong to the invoice’s company. This prevents users working across parent and child companies from accidentally choosing an unusable payment journal from the wrong company.
Original PR description
Suppose 2 companies : A and B with B being a child of A. The user is working on A and is able to see stuff for both of them. If you register a payment on an invoice owned by B, Odoo suggests bank/cash journals for both companies. The point is you can't use the A's journals because the invoice is owned by B. -task: 1903446 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 quotation is created from a CRM opportunity, Odoo now keeps the intended salesperson from the opportunity instead of defaulting to the logged-in user or customer setting. This helps sales teams keep ownership accurate and reduces manual correction of new quotations.
Original PR description
Description of the issue/feature this PR addresses: - salesperson on quotation from opportunity - Task : https://www.odoo.com/web?#id=1932334&action=327&model=project.task&view_type=form&menu_id=4720 - Pad : https://pad.odoo.com/p/r.86a22cb1c3765d528ac8e1310fed654f Current behavior before PR: - Current user who is logged in will be the salesperson while creating new quotation from opportunity. Desired behavior after PR is merged: - Salesperson will be set according to the conditions while creating new quotation from opportunity. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Invitation emails sent when someone is added as a follower now include a button to open the related record when the recipient has access through an internal or portal user account. This makes it easier for recipients to act on notifications without searching for the task or document manually.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web#id=1967234&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://pad.odoo.com/p/r.d949fc51763f15cfb01774f90069ca9a Current behavior before PR: - Previously, when someone is added as follower to the task, he/she is notified via mail but, there was not any link to access that record easily. Desired behavior after PR is merged: - Added a template that will show the mail along with the button, onclick of that button follower can easily get that particular record. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Activity-related filters were removed from several Odoo app views so users no longer see the old “My Activity” filter directly. The system now applies the relevant user activity restriction behind the scenes, making searches cleaner while preserving user-specific activity results.
Original PR description
[IMP] *: removed My Activity filter and applying force domain for the user activity Task: https://www.odoo.com/web#id=2036392&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.505b86388fde228a28d98781064a2dde
Odoo Studio now lets users search through existing fields while editing views. This makes it faster to find the right field in long lists and reduces time spent scrolling.
Original PR description
This commit allows users to search through existing fields by filtering the fields list dynamically as users is typing in the search input. Tasks #1978776
Resolved issues and error corrections
This fix lets regular employees open and view their own profile again by ensuring all profile fields are readable to them. It also adds checks to prevent similar access issues from blocking employee self-service in the future.
Original PR description
The `private_email` field was added by e9d9898 to the profile view but not in `SELF_READABLE_FIELDS`. A simple user was therefore not able to read the field and access his profile. To avoid any similar oversight in the future, a test is added to ensure a simple user is able to read all fields in the profile view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix restores access for regular employees to view their own employee profile. It corrects a missing permission-related field in the contract signing area, preventing unnecessary access errors for everyday users.
Original PR description
A simple user can no longer access his employee profile.
Code cleanup and technical improvements
Mexican chart of accounts and trial balance reports now better support account group hierarchies and generate SAT-compliant uppercase filenames. The update also improves flexibility for configuring report lines and prevents errors when the Mexican electronic invoicing module is not installed.
Original PR description
- Get hierarchy recursively with account groups. - Remove afr lines. - Get filename in uppercase (SAT requirement). - Now it's possible to add new report lines with account groups configuration. - Avoid error when l10n_mx_edi is not installed. - The group data is created in l10n_mx but a manual creation is also possible. [IMP] l10n_mx_reports: update es.po Related to https://github.com/odoo/odoo/pull/35510