Daily updates from Odoo
Navigate
Branch
Tuesday, September 20, 2022
16 changes
Enhancements to existing features
Accounting users can now work without mandatory bank statements, while still adding statements when needed for control and documentation. The update adds balance checks, gap warnings, attachments, and easier ordering of statement lines to improve reconciliation accuracy.
Original PR description
Bank statements are now optional in accounting. The users add statements directly and can assign statements for control reasons. The users can enter end date and end balance real for the statements and attach the bank statement scan. The system checks if there is a gap (lines without statement) before the current statement and warns the user with decoration, also we check if the ending balance match the accumulated balance of the last line. Bank statement lines now show an accumulated balance and can be sorted by drag and drop in the same date, if the user drags a line to a position with lines of another date, it simply doesn't have any effect. Rename accumulated balance to cumulative balance, a better name Related community PR: odoo/odoo#99092 Task [#2879904](https://www.odoo.com/web#id=2879904&cids=1&menu_id=4720&action=4043&model=project.task&view_type=form) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Several help tooltips were rewritten, added, or removed to make on-screen guidance clearer and more accurate in English. This improves everyday usability by reducing outdated or confusing explanations in project, field service, documents, and planning-related workflows.
Original PR description
In this commit we rewrite some tooltips because some of them are not correct in English and others are not valid anymore.Add some tooltips that could be missing and remove some tooltips that are not valid anymore
Employee appraisal records now show all appraisals for the employee instead of relying on a previous-appraisal navigation flow. This makes it faster and less confusing for HR users and managers to review appraisal history.
Original PR description
The "Previous Appraisal" kind of navigation system was confusing and time consuming. Now all the appraisals of the employee are listed. task-2945849
Sendcloud shipping can now match sender addresses using the warehouse label as well as the contact name. This makes address selection more flexible and reduces setup friction for businesses using warehouse labels.
Original PR description
Before this commit, we used to search for a sender address with the contact name set as the warehouse name, now the label field can be used instead.
Manufacturing orders can now automatically consume tracked components when no manual consumption step is required. This reduces unnecessary shop floor steps while preserving manual registration whenever an operation or bill of materials line explicitly requires it.
Original PR description
Without "Auto Consume" : same behaviour as before With "Auto Consume" : NO "Register Consumed Materials" step in the Operation AND NO "Consumed in Operation" on the BoM line : auto-consume component and no step created "Register Consumed Materials" step in the Operation OR "Consumed in Operation" on the BoM line : Does not auto-consume and a consumption step is created Task : 2950200 Community PR : https://github.com/odoo/odoo/pull/98461 -- I confirm I have signed the CLA and read the PR guidelines at [www.odoo.com/submit-pr](http://www.odoo.com/submit-pr)
Resolved issues and error corrections
This fix restores the ability to expand detailed lines in Colombian ICA, IVA, and Fuente tax reports. It ensures users can view the report breakdowns needed for review and compliance after a recent reporting framework change.
Original PR description
After the reportalypse it was not possible to expand lines in l10n_co reports because the expand functions should start with the specific prefix `_expand_unfoldable_line_`. Renaming the methods to fix the reports.
Fixes an error that occurred when users selected a color for document tags while sharing a document. This keeps the document sharing flow stable and avoids interruptions for users managing shared document labels.
Original PR description
Reproduction steps - Install documents app - Select the document - Shere the document - Click on the documents tags - Select the color task-2978632
Financial report sections that can be expanded now correctly show all nested lines, not just the first level. This helps users view complete report details without missing hidden sub-sections.
Original PR description
Until now, if a section line in a report had the attribute `foldable` set to `True`, the unfolding was not done properly. Only the first children were unfolded. But these children often had children of their own, and they remained invisible. This PR fixes the issue. At the same time, we also make sure that the `unfoldable` key in the static line's dict only carries a boolean instead of the records themselves (which was useless). task-2971538
The Knowledge app trash experience has been cleaned up to make deleted articles easier to find, understand, and manage. Users now see clearer labels, better mobile controls, a dedicated trash list with deletion dates, and archived or trashed articles are protected from accidental editing.
Original PR description
- Display the buttons 'Add Cover' and 'Add icon' in mobile (no hover needed to display them) - Put "remove from trash" above the copy btn in burger menu - Rename "Remove from trash" into "Delete" - Reduce height of 'Article Trashed' alert and reword the alert. - Add list view for trashed articles and display date of deletion - Rename the action button that opens the Trash list view into "Open the Trash" and restyle it as a link button. - Rework the action helper when there is no trashed article to display Task-2980199
This fixes an issue where Planning screens could place fields incorrectly because inherited views matched the wrong company field. Users should now see Planning list and form layouts in the intended order again.
Original PR description
Prior to this commit and since odoo/enterprise#29592 the `xpath` that are using `company_id` in the views that inherit `planning_view_tree` and `planning_view_form` are no more working as the `xpath` targets the first match. This commit fixes this issue. task-2989163
Code cleanup and technical improvements
This change restructures how analytic accounting information is handled across accounting features. The standalone analytic report is removed, while financial reports now use analytic groupings to show additional columns, helping users compare results by analytic account or plan more directly.
Original PR description
The rationale behind the the analytic tags and accounts changes can be found in the community commit. There are also changes to the reports: The analytic report has been removed. The analytic filter on financial reports (balance sheet and profit loss report) has been removed, to be replaced by an analytic groupby filter, that will create additional columns on the financial report, based on the analytic lines linked to the financial account of the line and the analytic account (or plan) of the column. To do so, we use a temporary table that will be computed and filled once, with the values of the analytic lines, to shadow the table of account move lines. This lets us use all the engine defined for account move lines. On all reports, not financial ones, that had an analytic filter will keep the old one.
Miscellaneous changes
Reproduction: 1. Install Accounting, l10n_mx, l10n_mx_edi. Create a company and set the country as Mexico 2. Go to Accounting -> Customer -> Invoices, create an invoice with Deco Addict, in the customer page of Deco Addict, in tab Sales&Purchases, toggle Need external trade. 3. In the invoice, the form view of invoice lines has more columns: Qty UMT and UMT Aduana. When switching to another customer, these two columns disappear 4. Install l10n_mx_edi_extended_40, create a new invoice, these
Original PR description
Reproduction: 1. Install Accounting, l10n_mx, l10n_mx_edi. Create a company and set the country as Mexico 2. Go to Accounting -> Customer -> Invoices, create an invoice with Deco Addict, in the customer page of Deco Addict, in tab Sales&Purchases, toggle Need external trade. 3. In the invoice, the form view of invoice lines has more columns: Qty UMT and UMT Aduana. When switching to another customer, these two columns disappear 4. Install l10n_mx_edi_extended_40, create a new invoice, these two columns appear no matter if the customer choose the new values. Reason: wrong value used for column_invisible and invisible attributes of these fields in account_move_view Fix: set the correct values for the conditions based on the new value selections opw-2968733 Related commit: https://github.com/odoo-dev/enterprise/commit/9f24fee7c9ab25d937f6e99ae09ef6f898a09e1c Forward-Port-Of: odoo/enterprise#31339
Steps to reproduce: - Install hr and subscription - Set no subscription rights and admin hr rights on a user - Try to archive an employee Current behavior: Error for access rights to sale.subscription Expected behavior: No error Explanation: when we write the active to false of the res.partner (corresponding to the employee.address_home_id) there is an issue as you need the rights to search and modify the sale subscritpions. You should not need the rights for this access to sale.s
Original PR description
Steps to reproduce: - Install hr and subscription - Set no subscription rights and admin hr rights on a user - Try to archive an employee Current behavior: Error for access rights to sale.subscription Expected behavior: No error Explanation: when we write the active to false of the res.partner (corresponding to the employee.address_home_id) there is an issue as you need the rights to search and modify the sale subscritpions. You should not need the rights for this access to sale.subscription hence we add a sudo to solve the issue. opw-2974590 Forward-Port-Of: odoo/enterprise#31482 Forward-Port-Of: odoo/enterprise#31193
Enterprise part of odoo/odoo#100573
Original PR description
Enterprise part of odoo/odoo#100573
Following d3ea349, the values provided in the evaluation context for auto-fields is in a key named `auto_value`, to avoid confusion with the name of the field itself. However, a bugfix in 15.0 was forward-ported with the outdated naming in 0f42d1d, which broke the auto-field auto-filling. This commit sets the key to its appropriate value to restore the functionnality. Forward-Port-Of: odoo/enterprise#31341
Original PR description
Following d3ea349, the values provided in the evaluation context for auto-fields is in a key named `auto_value`, to avoid confusion with the name of the field itself. However, a bugfix in 15.0 was forward-ported with the outdated naming in 0f42d1d, which broke the auto-field auto-filling. This commit sets the key to its appropriate value to restore the functionnality. Forward-Port-Of: odoo/enterprise#31341
The prefix/suffix of the purchase order sequence can contain special characters that needs to be escaped when converting it to a regex. Forward-Port-Of: odoo/enterprise#31468
Original PR description
The prefix/suffix of the purchase order sequence can contain special characters that needs to be escaped when converting it to a regex. Forward-Port-Of: odoo/enterprise#31468