Daily updates from Odoo
Navigate
Branch
Friday, February 26, 2021
12 changes
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
Follow-up information can now be grouped by level and status, making it easier for teams to review and prioritize customer follow-up work. This improves visibility into collections activity and helps users focus on the most relevant customer accounts.
Resolved issues and error corrections
This update fixes several HR workflow issues: employee contract details now show correctly, custom grouping in the employee app works as expected, and payroll users can generate and validate payslips without an error. These fixes reduce manual workarounds and improve reliability for HR and payroll teams.
Original PR description
Firstly, while creating contract employee field was no visible, but now it is visible. Secondly, in employee app, Add Custom Group was not working but now its working as expected. Lastly, when installing payroll and try to create salary slip from using GENERATE PAYSLIP button, it used to show traceback on VALIDATE button. However, after replacing wage_on_signature with basic_wage it generates payslip without any issue. TaskID : 2452363
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
Work entry contract and holiday capabilities are being moved from Enterprise into the Community edition so they can be used with more HR apps such as Attendance and Time Off. Enterprise-specific payroll and planning views are kept in new companion modules, preserving paid-edition integrations while making the core functionality more broadly available.
Original PR description
Before this commit, hr_work_entry_contract and hr_work_entry_holidays were defined in enterprise but those modules could be integrated with some community applications, like hr_attendance. taskid: 2222790
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