Monday, November 18, 2019
10 changes · master
New functionality added to Odoo
This change adds support for managing website redirects across multiple websites and improves how website routes are shown in edit mode. It helps site managers handle old links more reliably and makes route configuration easier to understand.
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
Enhancements to existing features
Odoo now uses a clearer and safer way to run actions for a specific company, replacing older context-based shortcuts that could cause inconsistent behavior. This improves reliability for businesses operating across multiple companies, especially in accounting, HR, manufacturing, payments, and point of sale workflows.
Original PR description
#### ORM * Add with_company to update allowed_company_ids context key. * Consider sudoed environment to accept/refuse a company * Crash when invalid allowed_company_ids context is given. If a computed field depends on the current company and/or restricted company, add `company` in `depends_context` decorator arguments (done by default for company_dependent fields). #### Replace force_company and custom company* context keys by with_company uses. - [X] remove force_company keys - [ ] remove company_id keys --> for a followup PR - [X] remove company context keys - [x] remove company_ids and multi_company context keys [Task-ID](https://www.odoo.com/web?#id=2060885&action=333&active_id=1725&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
This update adds or adjusts optional columns in list views for expenses, expense reports, projects, planning slots, and field service tasks. Users can more easily show the business information they need directly in overviews without opening each record.
Original PR description
Add and modify multiple fields in tree view for next models: - hr.expense - hr.expense.sheet - project.project - planning.slot - Field Service project.task TASK-ID: 2079343 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The website 404 page now has a cleaner, more polished layout similar to Odoo.com. Website teams can also customize the page with drag-and-drop blocks, making missing-page experiences more helpful and on-brand.
Original PR description
1966460
This change adds a dedicated user group for attendance kiosks, so kiosk users can be given only the permissions they need. It helps businesses run attendance check-ins with less risk of granting broader HR access than necessary.
Original PR description
Description of the issue/feature this PR addresses: It's the unique group needed for a kiosk attendance. Avoid to give to much rights. id=2088561 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update modernizes how Odoo selects the active company across accounting, payroll, delivery, and inter-company workflows. It reduces the risk of reports or transactions using the wrong company context, improving reliability for organizations operating multiple companies.
Original PR description
Counterpart of https://github.com/odoo/odoo/pull/36804 [Task-ID](https://www.odoo.com/web?#id=2060885&action=333&active_id=1725&model=project.task&view_type=form&menu_id=4720)
Several business lists now include additional optional fields for expenses, projects, planning, and Field Service tasks. This gives users more flexibility to show the information they need directly in list views without changing core workflows.
Original PR description
Add and modify multiple fields in tree view for next model: - hr.expense - hr.expense.sheet - project.project - planning.slot - Field Service project.task TASK-ID: 2079343
Resolved issues and error corrections
This fix restores responsive behavior for Odoo websites after a recent change unintentionally disabled it. The backend remains unaffected, while public-facing websites will again adapt properly to different screen sizes such as phones and tablets.
Original PR description
Due to a recent change: c3335a0#diff-c7dab7f11ffa06829bbc6ac5c87a99a8L420 website wasn't responsive anymore. This was not intended as we only wanted to remove the responsive support for the backend, not the frontend.
The Studio color picker has been updated to stay compatible with recent changes in the website editor color picker. This fixes a breakage and keeps color selection working consistently for users customizing reports in Studio.
Original PR description
See community: https://github.com/odoo/odoo/pull/38959 Some changes have been done in the web_editor color picker. These broke the studio color picker, it is now fixed. Also an adaptation of the studio color picker to reflect these changes. Related to: https://github.com/odoo/odoo/pull/39126 and: https://github.com/odoo/design-themes/pull/181 task-2087383
This fix restores responsive behavior for Odoo websites in Community edition, so pages display properly on mobile and smaller screens again. The change keeps responsive setup where it is needed for the website while avoiding duplicate setup in the backend.
Original PR description
Due to a recent change: https://github.com/odoo/odoo/commit/c3335a0db03b7ef5e98bddb7c15b143510d58c1e#diff-c7dab7f11ffa06829bbc6ac5c87a99a8L420 website wasn't responsive anymore in Community. This was not intended as we only wanted to remove the responsive support for the backend, not the frontend. As this meta data is already present in the frontend, we need to avoid to add it twice. It's why we move it to backend only. Related to: @ca6ae92b593ab97d7563d25b3969a136a3371dbe