Wednesday, August 12, 2020
16 changes · master
Enhancements to existing features
The warning shown when deleting a bank statement linked to Point of Sale has been updated to match the actual check being performed. Instead of mentioning only open sessions, it now warns about any linked Point of Sale session, helping users better understand why deletion may be blocked.
Original PR description
Followup on 7416340e0ff96bdabb0578f9c1eccd79baf83e17 Before this commit, The warning on deleting Bank statement was referring to only Open Point of Sale session, while we are checking for any linked Session on Bank statement. Now we show a warning of Linked Point of Sale session. 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
Users can now type simple shortcuts in date and date-time fields, such as adding days, weeks, months, or years from today. This makes entering common relative dates quicker and reduces manual calendar navigation.
Original PR description
This commit adds smart date inputs for date and datetime fields. The goal of smart date input is to provide the user some shortcuts when setting dates. The rule is [+-]\d+[dwmy]? So we can enter inputs like: +3 to have today + 3 days -2w to have today - 2 weeks +1y to have today + 1 year +5m to have today + 5 months -4d to have today - 4 days Task: 2270347
Website editors can now add parallax motion and color overlays to any snippet that uses a background image, not just selected sections. This gives business users more design flexibility, including control over parallax direction and intensity, while preserving reusable images without permanently altering them.
Original PR description
Enable the parallax option for all snippets with a background image. task-46147 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
Manufacturing orders now include service-type items from the bill of materials when calculating valuation. This gives businesses a more complete view of production costs and improves the data available in cost analysis reports.
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
This update reduces unnecessary database work across customer portal pages, making common pages like account details, invoices, orders, projects, and timesheets load faster. It also keeps an empty opportunities section hidden, matching the behavior of other portal sections.
Original PR description
##### Perf improvements * `portal, *`: Do not compute home portal record counts when on a specific page (not needed) * `hr_timesheet`: Domain simplification * `website`: Avoid `ref` queries on…
##### Perf improvements * `portal, *`: Do not compute home portal record counts when on a specific page (not needed) * `hr_timesheet`: Domain simplification * `website`: Avoid `ref` queries on website frontend templates * `portal`: Avoid multiple calls to same function in `/my/account` qweb template ##### minor functional change to verify * `website_crm_lead_partner_assign`: do not show opportunities section if empty (like all other sections). ### Performance gains: Basic db with demo datas, page accessed as admin user. | Portal page\Queries | Before | After | Module | |---------------------|--------|-------|----------------------------| | _/my, /my/home_ | 70 | 60 | `portal` | | _/my/account_ | 84 | 38 | `portal` | | _/my/timesheets_ | 96 | 54 | `hr_timesheet` | | _/my/projects_ | 74 | 36 | `project` | | _/my/tasks_ | 77 | 39 | `project` | | _/my/invoices_ | 72 | 34 | `account` | | _/my/purchase_ | 72 | 34 | `purchase` | | _/my/orders_ | 81 | 43 | `sale` | | _/my/quotes_ | 81 | 43 | `sale` | | _/my/tickets_ | 72 | 34 | `helpdesk` | | _/my/leads_ | 73 | 35 | `website_crm_partner_assign` | | _/my/opportunities_ | 73 | 35 | `website_crm_partner_assign` | -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Sample data now avoids showing every next activity as a warning. This makes demo and test screens look more realistic and easier for users to understand.
Original PR description
The SampleServer picks a random value for selection fields. As a consequence, field 'activity_exception_decoration' is always set, either to 'warning' or 'danger'. This means that the next activity field always displays "Warning" (it displays the next activity only if this field is not set). This special case has been handled in web, as it is the first (and only) one. In the future, if we have to implement several special cases like that, we'll setup a proper hook to allow external modules to define them from the outside. Task 2316726 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
Reporting screens now show realistic sample data and clearer helper messages when users have not yet entered records. This makes empty dashboards, graphs, pivots, and related views easier to understand and helps new users discover what to do next.
Original PR description
The present commit allows to display sample data in the reporting views and effectively enable them in several graph views. Moreover, many action helpers have been added across all applications. With this, we hope to facilitate the onboarding of the new users. Task IDs: 2282196, 2311486 Co-authored-by: Mahendrasinh Barad <mba@odoo.com> Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Archived eLearning courses now keep their lesson list visible to internal users while ensuring the lessons are unpublished and not publicly accessible. This makes archived course management more consistent and prevents empty course pages when reviewing past content.
Original PR description
Archived courses had empty content list (because they where archived too). Unpublish the content (slide) if course is archived to be consistant. Continuity/IMP of task-2170708 Task-2225598 Old pull request : https://github.com/odoo/odoo/pull/50368
Customers can now change their language directly in the portal even when the Website app is not installed. This makes portal pages easier to use for multilingual users and reduces reliance on website-specific features.
Original PR description
Make the language switcher available on portal without website installed task-2203383 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the day-to-day experience in Odoo Accounting, especially around journal configuration and related forms. It also refines the bank account creation wizard, making setup smoother and reducing friction for accounting users.
Original PR description
Miscellaneous changes aiming to improve the user experience in the accounting module, mainly in the journal model and its form view. Task ID: #2250349 Pr : [11862](https://github.com/odoo/enterprise/pull/11862) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves how website-related features check whether optional views are enabled, avoiding reliance on cached lookups. It helps event, membership, shop comparison, wishlist, and e-learning pages reflect configuration changes more accurately for users.
Original PR description
Use is_view_active instead of viewref which one is cached. 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
Expense report payments now use the standard accounting payment process, making it easier to pay several entries at once and group payments. Expense sheets also show payment details and remaining amounts directly on the form, while a duplicate expense check module is removed.
Original PR description
…wizard - Use the one defined in the account module allowing paying multiple journal entries and group payments together. - Improve the usability to track the residual amount in an expense sheet by adding the payment details & the residual amount in the form view instead of using the chatter. - Remove the hr_expense_check module that contains only duplicated features regarding the register payment wizard. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Reporting and dashboard screens across several business apps now show sample data when there are no real records yet. This makes empty reports more understandable and helps users see what insights will be available once they start using the app.
Customer portal pages now avoid unnecessary record counting and database checks, especially when users are already viewing a specific page. This improves loading speed across portal areas such as Helpdesk, Subscriptions, Sign, and Website without changing the user-facing workflow.
Original PR description
* Do not compute home portal counts when on a specific page * `helpdesk`: Avoid searching on models when a count is enough. * `website_enterprise`: Avoid ref calls in website templates. * semantic changes for more consistent portal methods Enterprise counterpart of odoo/odoo#52934
This update improves the accounting experience, especially around journals and related accounting workflows. It also includes smaller refinements across reporting, bank statement imports, payroll accounting, subscriptions, and localization areas to make daily finance operations smoother.
Original PR description
Projects can now create recurring tasks for regular interventions such as fire alarm maintenance or safety inspections. This helps teams avoid missed follow-ups and reduces manual scheduling work.
Original PR description
Some interventions are done on a regular basis (e.g. maintenance of fire alarms, safety inspections). Having tasks auto-generate would facilitate the process and would ensure that the next intervention isn't missed/forgotten. TaskID: 2172156
Original PR description
Task ID: 2282196
Miscellaneous changes aiming to improve the user experience in the accounting module, mainly in the journal model and its form view. Task ID: #2250349 Pr : [54494](https://github.com/odoo/odoo/pull/54494)