Daily updates from Odoo
Tuesday, December 2, 2025
9 changes · 17.0
Resolved issues and error corrections
This update resolves an issue where duplicate accounting IDs were causing data overwrites. The changes update account codes related to CPF, SHG, and SDL taxes, aligning with new Singapore tax specifications. The change also simplifies account code formatting to prevent excessively long codes.
Original PR description
Two accounts were using the same XML ID `account_account_864`, causing second definition to overwrite the first. This commit resolves the duplication and updates/segregates accounts for CPF and SHG according to new specifications.
Changes:
- Update `account_account_864` (Employee Expense) to `account_account_866`.
- Update in accounts:
* 862 → CPF Withheld (Employee)
* 863 → CPF Accrued (Employer)
* 864 → SHG Withheld (Employee)
* Add new 865 → SDL Accrued (Employer)
* 859 → CPF Employer Expense
* 860 → SDL Employer Expense
* Removed 861
- Fix `transfer_account_code_prefix` in the template:
* Change from `101100` to `10110` to avoid generating 7-digit account codes.
task-5360160This update prevents users from modifying existing approval requests. Allowing edits would create unpredictable and potentially problematic behavior within the system. This change ensures data integrity and a stable approval process.
Original PR description
There is no legitimate use case that should modify the approval request. This would result in unexpected behaviour. task-5269982 Forward-Port-Of: odoo/enterprise#100273
This pull request updates the core spreadsheet component (o_spreadsheet) to the latest version for Odoo 17. It addresses several minor bugs and performance improvements related to spreadsheet functionality, ensuring a smoother user experience. These changes were made by a team of developers to maintain the stability and reliability of the spreadsheet feature.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ab9f15e01 [REL] 17.0.79 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0)…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/ab9f15e01 [REL] 17.0.79 [Task: 0](https://www.odoo.com/odoo/2328/tasks/0) https://github.com/odoo/o-spreadsheet/commit/3193f9b30 [FIX] GridOverlay: Prevent mousedown default when selecting range [Task: 5344285](https://www.odoo.com/odoo/2328/tasks/5344285) https://github.com/odoo/o-spreadsheet/commit/8564f98be [FIX] composer: keep edition mode inactive on cursor selection change [Task: 5354541](https://www.odoo.com/odoo/2328/tasks/5354541) https://github.com/odoo/o-spreadsheet/commit/f0b379210 [FIX] BottomBarSheet: sheet name should update on foreign changes [Task: 5016252](https://www.odoo.com/odoo/2328/tasks/5016252) Co-authored-by: Florian Damhaut (flda) <flda@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Ronak Mukeshbhai Bharadiya (rmbh) <rmbh@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com> Co-authored-by: Marceline Thomas (matho) <matho@odoo.com>
A minor grammatical error in the SEPA Direct Debit payment provider configuration has been corrected. The update replaces 'an unique' with 'a unique' in the pending message, ensuring accurate communication with the payment provider. This change improves the overall consistency and professionalism of the invoicing process.
Original PR description
Currently, a typo appears in the `Pending Message` shown in the SEPA Direct Debit payment provider configuration. **Steps to reproduce:** - Install the `payment_sepa_direct_debit` module. - Navigate to Invoicing > Configuration > Payment Providers > SEPA Direct Debit. - Open the `Messages` tab and observe the `Pending Message`. **Observation:** The message uses "an unique" instead of the grammatically correct "a unique". **Fix:** This commit corrects the message by replacing "an" with "a" at [1]. Before: <img width="1903" height="606" alt="typo_before" src="https://github.com/user-attachments/assets/df4f658b-9f4c-4e68-b8cb-a1bdc2253fc3" /> After: <img width="1900" height="609" alt="typo_after" src="https://github.com/user-attachments/assets/e9192d70-b343-4e4e-9e21-281a93d4d71e" /> [1]: https://github.com/odoo/enterprise/blob/6c3692d85bf1ef7b14d930d9a1ed244cf8aa851b/payment_sepa_direct_debit/data/payment_provider_data.xml#L13 opw-5373274
This update fixes a potential error that occurred when inheriting from the 'sale.order.line' model. The fix ensures correct model referencing by using the model's name instead of a hardcoded name, preventing conflicts. This improves stability and reliability of custom sale order line configurations.
Original PR description
When inheriting a model from an other model. The use of `self.env["sale.order.line"]` can lead to "mixing Apple and Orange".
Fixing it by using `self.env[self._name]` resolves this issue.
Same in the Odoo core `sale.order.line` model for `_compute_tax_id` method.
Example:
```
class SaleOrderLineBis(models.Model):
_name = "sale.order.line.bis"
_inherit = ["sale.order.line"]
```This update fixes a visual issue where buttons within the image field were not vertically centered. The change utilizes SCSS flexbox to ensure consistent alignment, addressing a minor aesthetic concern. Using SCSS allows for easier maintenance and accommodates potential variations in the component's design.
Original PR description
The buttons in image_field are not centered vertically. Since it's a custom sized button, using flex is reliable (it's now centered on both flex axis). Note: Done in SCSS instead of utilities because the flex is there to compensate the custom size set in SCSS (easier to maintain) + there could be injected buttons in the component. task-5258887 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves a minor visual issue where the record selector's caret was causing unexpected changes in the input field's width. This ensures a consistent and professional user experience for selecting records within Odoo.
Original PR description
This commit fixes an issue where, when visible, the caret of the record selector component would take space and thus change the width of the input. Task: [5354466](https://www.odoo.com/odoo/project/133/tasks/5354466) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update resolves an issue where multi-step production processes involving by-products weren't correctly creating manufacturing lines in Odoo. The fix ensures that by-product lines are properly generated when scanning final products and by-products during the barcode manufacturing process, streamlining production workflows. This issue is now resolved in version 18.0 and later.
Original PR description
### Steps to reproduce: - In the settings enable By-Products an Multi-step routes - Put your warehouse in manufacturing in 3 steps - Create two storable products: - Final Product (FP) with an empty…
### Steps to reproduce:
- In the settings enable By-Products an Multi-step routes
- Put your warehouse in manufacturing in 3 steps
- Create two storable products:
- Final Product (FP) with an empty bom
- By Product (BP)
- Go to the barcode app > Operations > Manufacturing > New
- Scan FP > Register By-Products
- Scan BP
#### > The line is created with pre-prod as location and prod as destination
### Cause of the issue:
Since no existing line refers to the by product, a new line is created and its `location_id` and `location_dest_id` are provided by the `_getNewLineDefaultValues`:
https://github.com/odoo/enterprise/blob/17fd46b04d87585b7ed46c00d9559414daa17384/stock_barcode/static/src/models/barcode_model.js#L562-L566 However, at this point nothing had set the `params.newByProduct` in the `processBarcode`:
https://github.com/odoo/enterprise/blob/17fd46b04d87585b7ed46c00d9559414daa17384/stock_barcode_mrp/static/src/models/barcode_mrp_model.js#L375-L383 In fact, the only thing indicating that we are creating a by prodcut line at this point is the `displayByProduct`.
### Note:
The issue is no longer reproducible in 18.0+ as this change has already been applied in 2d5dbb93e6b33c2be786f9b2361c993f715d1a7f
opw-5350222This update corrects a minor issue where default Incoterms were incorrectly applied to bills. Bills represent invoices from third-party vendors, and using our company's default Incoterms would be inaccurate. This change ensures bills accurately reflect the vendor's terms.
Original PR description
Incoterms are usefull to indicates the rules and terms in sale contracts. It makes sense to add the company default on invoices, but not on bills, as those originate from another vendor than us, who can use different rules. opw-5169146