Daily updates from Odoo
Friday, May 10, 2019
4 changes
Enhancements to existing features
This update lets administrators and module developers hide additional access-rights categories from regular users. It helps keep permission screens cleaner when custom modules introduce many new groups, without changing existing behavior by default.
Original PR description
**Description of the issue/feature this PR addresses:** There exist only three module categories hidden with the "Technical Features" group (`base.group_no_one`): those are "Technical Settings", "Extra Rights" and "Other Extra Rights". Use case: Imagine you have a module that adds a lot of new groups, and you want to group them in another category and you want to hide that category. **Current behavior before PR:** You cannot hide other categories. **Desired behavior after PR is merged:** You can hide other categories by calling `super` to the new method. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The wording in manufacturing-related screens and reports has been updated from “Raw Materials” to “Components.” This keeps terminology consistent across views, making reports and bills of materials easier for users to understand.
Original PR description
**Renaming 'Raw Materials' to 'Components'** Changes are done for the uniformity and consistency across all the views. Task Link: https://www.odoo.com/web?#id=1940358&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link: https://pad.odoo.com/p/r.51ef75e4399c88cc57dbdbec5c9957b6
Resolved issues and error corrections
This change updates the Base module to identify the main administrator using the configured system constant instead of assuming it is always user ID 1. This helps avoid access issues in databases where the administrator has a different internal ID.
Original PR description
**Description of the issue/feature this PR addresses:** If you check for 1 instead for SUPERUSER_ID you may face problems if the SUPERUSER_ID has a different number. **Current behavior before PR:** To check for user root is checking for 1. **Desired behavior after PR is merged:** To check for user root is checking for SUPERUSER_ID. **Versions affected**: All. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds a missing required component for the payroll dashboard. It helps ensure the payroll dashboard loads and works reliably for users.
Original PR description
The dependency was forgotten when introducing the payroll dashboard.