Daily updates from Odoo
Tuesday, August 27, 2024
9 changes · master
Enhancements to existing features
Field Service now shows all workflow stages, including empty ones, when a company has only one Field Service project. This makes planning and tracking work more consistent with the regular Project app, while hiding unnecessary project selection details in that simpler setup.
Original PR description
Before this commit, the pipeline stages displayed in Field service in the kanban/list and the other views were only stages containing at least one task. After this commit, all stages are shown (even empty ones) if there is only one 'field service' type of project created. If more, we fallback on the current behavior (i.e. only showing stages containing tasks). Moreover, we now hide the project_id field in the views if, again, there is only one FSM project. The rationale behind this commit is that we want to mimic the behavior we have when displaying the tasks of a specific project from the Project module. task-3781207
Project updates now show the percentage of budget still remaining, making it easier to compare actual spending against allocated budgets. This gives teams a clearer view of budget consumption alongside profitability information.
Original PR description
In the project updates, we can see the margin for the profitability but not for budgets. It means we can have a clear view of the costs and revenues ratio in % but not for budgets. After this commit, we will be able to see what has been spent compared to what was allocated in % (in the "Remaining" column) for budgets. task-3865199
Automatically generated accounting labels have been reworded to make them easier to understand in daily finance workflows. This improves clarity for open balances, recurring transfer demo data, and asset depreciation, disposal, and sale entries, reducing confusion when reviewing accounting records and reports.
Original PR description
Some of the generated labels were confusing. The following changes were therefor implemented: - Open balance: "Open Balance: REF" -> "Open Balance of PRICE" - Auto transf. (demo): "Monthly IFRS rent [...]" -> "IFRS rent [...]" - Asset depreciation: "ASSET_NAME" -> "ASSET_NAME: Depreciation" - Asset disposal: "ASSET_NAME" -> "ASSET_NAME: Disposal" - Asset sale: "ASSET_NAME" -> "ASSET_NAME: Sale" task-3943455 **Community PR:** odoo/odoo#166534
Manufacturing planners can now switch the Master Production Schedule view between daily, weekly, monthly, and yearly periods directly from the main screen. Each period type keeps its own column count, making planning views more practical without changing the default company setting.
Original PR description
This PR adds a date switcher like the one in calendar. It allows to switch between daily/weekly/monthly/yearly display on the MPS main view without needing to go to the settings every time. To do that, it changes `manufacturing_period_to_display` from 1 field to 4 fields for year/month/week/day. It does not change the value of `manufacturing_period`, which is the default setting used when opening the MPS view. It also ensures that the number of columns to display must always be positive. task 4115732
Moroccan company invoices now include the ICE business identification number when available, helping businesses meet local invoicing requirements. The change also simplifies partner records by using the standard company registry field for ICE data and corrects a small visibility issue in the partner form.
Original PR description
[IMP] l10n_ma_reports: Add ice number to invoicing Get rid of the l10n_ma_ice and depend on company_registry as both should be the same And Add the ICE number to the invoice report. it's now part of the company_details of the invoice report if and only if it's a moroccan company Adding migration script to replace 'l10n_ma_ice' in 'res.partner' with 'company_registry' Reason: The ICE (Identifiant Commun de l'Entreprise) is an identification number assigned to businesses and legal entities for various administrative and legal purposes in Morocco. If the partner has one, it must be indicated on the invoice. --> Important Note: Fix a small bug in the 'l10n_ma_customs_vat' invisible condition of l10n_ma_reports partner view Task-3877546 odoo-pr#https://github.com/odoo/odoo/pull/166531 upgrade-pr#https://github.com/odoo/upgrade/pull/6069
Payment reminder emails can now include a Pay now button for overdue invoices when online invoice payment is enabled and a payment method is available. This makes it easier for customers to settle outstanding invoices directly from the reminder, helping encourage faster payment.
Original PR description
A "Pay now" button for overdue invoices was added to the "Payment Reminder" email template. The button is only visible if "invoice online payment" was activated in the settings, and if there is some available payment method. Before this commit, the follow-up report was used to remind customers they have unpaid invoices, but they still had to pay invoices manually which is not very friendly and does not push them to pay all of them. task-3386024
Resolved issues and error corrections
A reporting error was fixed so the Colombian VAT withholding certificate can open correctly. The report now handles missing subheader information safely, preventing users from seeing a crash instead of the accounting report.
Original PR description
**Steps to reproduce:** - Install l10n_co_reports - Switch to a Colombian company (e.g. CO Company) - Go to "Accounting / Reporting / Colombian Statements / Certificado de Retención en IVA" **Issue:** A traceback is triggered: "UncaughtPromiseError > OwlError Caused by: TypeError: Cannot read properties of undefined (reading 'colspan') ..." **Cause:** When generating the subheaders from the columns, the case (where the column is not part of a group key and its "comparison_mode" attribute is not set) is not handled. Therefore subheader has "Undefined" as value, which generates an error when trying to access its "colspan" property in the template. **Solution:** When generating the subheaders, always return the object with the default values when the column is not part of a group key.
The accounting reconciliation filters now use the correct criteria for reconcilable accounts. This helps users find genuinely unreconciled entries or entries with remaining balances more accurately, reducing confusion during account review.
Original PR description
In this commit: https://github.com/odoo/enterprise/pull/67611/commits/cc0b0b9f2c60d837567062b3f7f0f6905d90b5f9 we added new filters but the original spec was wrong, this commit will change those filters. - For the two filters, the accounts must be reconciliable - To distinguish the two filters: Unreconciled >> Will match move line with no matching number or partial entries With Residual >> Will match move like that have a residual != 0 task: 4141159 Community Pr: https://github.com/odoo/odoo/pull/178023
Features or functions removed from Odoo
The remaining onboarding banners have been removed from Consolidation, Sign, and E-commerce reporting screens. This simplifies the user interface and supports retiring the older banner system across Odoo.
Original PR description
*account_consolidation, sign, website_sale_dashboard This PR removes the last 4 usecases of onboarding banners (banner_route attribute in views). It will allow us to completely drop the support of onboarding banners (see https://github.com/odoo/odoo/pull/177244) Task~4126004