Friday, February 26, 2021
9 changes · master
Enhancements to existing features
Calendar appointment views have been made easier to use with better filter ordering, default list views, and cleaner reporting measures. Test-created events now use shorter durations to better reflect typical calendar behavior and avoid unrealistic multi-day events.
Original PR description
- In the filter menu, Online Appointment changed position. It is now between Recurrent and Archived. - Default tree views were added for the Online Appointments and All Appointments. - Document ID was removed from the graph and pivot views. It does not make sense use document IDs to measure events but it is added by default because it's a fields integer. - Given that only allday events and hr.leave can span across multiple days, events created during the testing have now a shorter duration. Task ID: 2342252
The dashboard toolbar now has better spacing and alignment on small screens. This prevents buttons from visually overlapping, making mobile reporting dashboards easier to use.
Original PR description
The purpose of this task is to improve the mobile UI. Reporting Dashboard view: In mobile view of reporting dashboard add spaces between top and down graph button. So in this commit, added a media query which add spaces between the top and down button. TaskId: 2348332
Features or functions removed from Odoo
This change removes support for conditional default values in several Odoo business areas to align Enterprise with the related core platform update. It helps simplify default-setting behavior and reduces maintenance complexity across assets, documents, and subscriptions.
Original PR description
Counterpart of https://github.com/odoo/odoo/pull/41803.
Code cleanup and technical improvements
Several enterprise modules were updated to use a newer internal extension method after the old one was removed. This keeps messaging, reporting, document, mobile, and enterprise web screens aligned with the platform and reduces future maintenance risk.
Original PR description
* mail_enterprise, web_cohort, web_enterprise, web_mobile This commit replaces the uses of `patchMixin` by `utils.patch` as `patchMixin` is removed. Community PR: https://github.com/odoo/odoo/pull/65967
Miscellaneous changes
Towards getting the l10n nightly green Forward-Port-Of: odoo/enterprise#16423 Forward-Port-Of: odoo/enterprise#16327
Original PR description
Towards getting the l10n nightly green Forward-Port-Of: odoo/enterprise#16423 Forward-Port-Of: odoo/enterprise#16327
Forward-Port-Of: odoo/enterprise#15430
Original PR description
Forward-Port-Of: odoo/enterprise#15430
With the change in 87c0ef3 (task-2303945) the date selected by the calendar or gantt view when creating a new task would no longer be taken into account. Since the intent was to avoid the use case where the task was added for wrong range (eg. clicking on "Add" on month gantt view would add it for the whole month) this changeset replicate the code only if the default received range is over one day (computed as over 25 hours for DST). opw-2442234 Forward-Port-Of: odoo/enterprise#16658 Forward-P
Original PR description
With the change in 87c0ef3 (task-2303945) the date selected by the calendar or gantt view when creating a new task would no longer be taken into account. Since the intent was to avoid the use case where the task was added for wrong range (eg. clicking on "Add" on month gantt view would add it for the whole month) this changeset replicate the code only if the default received range is over one day (computed as over 25 hours for DST). opw-2442234 Forward-Port-Of: odoo/enterprise#16658 Forward-Port-Of: odoo/enterprise#16652
[FIX] account_reports: financial reports: fix fold/unfold when no account.group To reproduce with demo data: Balance Sheet, unfold then refold the "current liabilities" line. => Unfold works fine, but fold does not hide the child lines. [FIX] account_reports: make ids of hierachy lines unique Before that, the hierarchy option was using directly ids of account.group objects with a 'hierarchy_' prefix to generate its lines. It wasn't correct as those hierarchy lines could then share
Original PR description
[FIX] account_reports: financial reports: fix fold/unfold when no account.group To reproduce with demo data: Balance Sheet, unfold then refold the "current liabilities" line. => Unfold works fine, but fold does not hide the child lines. [FIX] account_reports: make ids of hierachy lines unique Before that, the hierarchy option was using directly ids of account.group objects with a 'hierarchy_' prefix to generate its lines. It wasn't correct as those hierarchy lines could then share ids (in case an account.group was used multiple times). When folding/unfolding one of those lines, all the others were impacted as well. This is typically the case why we introduced the generic id mechanism, so we just fix the issue by using it. Forward-Port-Of: odoo/enterprise#16710
…_id" steps to follow : Go to Subscription > Create a new subscription : in the form view go to other info > payment token - tool tip problem : the feature is correct, If you didn't set the payment token, it won't charge any card, even if credit cards are set on the partner. but The current tool-tip is wrong, it indicates "If not set, the default payment token of the partner will be used". solution : edit tool-tip to: "If not set, the automatic payment will fail". opw-2463821
Original PR description
…_id" steps to follow : Go to Subscription > Create a new subscription : in the form view go to other info > payment token - tool tip problem : the feature is correct, If you didn't set the payment token, it won't charge any card, even if credit cards are set on the partner. but The current tool-tip is wrong, it indicates "If not set, the default payment token of the partner will be used". solution : edit tool-tip to: "If not set, the automatic payment will fail". opw-2463821 Forward-Port-Of: odoo/enterprise#16642 Forward-Port-Of: odoo/enterprise#16634