Monday, October 14, 2024
10 changes · 18.0
New functionality added to Odoo
A new India withholding payment module lets businesses create TDS entries directly for payments. It also prevents errors when a payment does not yet have a linked journal entry, making the withholding workflow more reliable.
Original PR description
Added new module for creating TDS entry for payment Task - 4247425
Enhancements to existing features
Spreadsheet data is now read more directly, avoiding extra conversion work behind the scenes. This reduces processing time for large spreadsheets, making spreadsheet-related actions noticeably faster without changing user workflows.
Original PR description
This commit removes unnecessary base64 encoding and decoding operations when computing `spreadsheet_data` which contains the serialised json data. Previously, the binary field `spreadsheet_binary_data` was base64-encoded (as is the case with all binary fields), meaning the file was read, encoded to base64, and assigned to `spreadsheet_binary_data`. To retrieve the serialized JSON, it then had to be decoded again. By avoiding this redundant steps, we optimize the time spent in `_compute_spreadsheet_data`: before: ~100ms after: ~30ms Task: 4256155 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This update combines several fixes and small improvements across Odoo, including more accurate purchase valuation calculations, better portal invoice-sending preferences, and smoother user interface hover behavior. It also resolves Point of Sale issues for company branches and superuser sessions, and updates German tax report presentation to better match local expectations.
This work adjusts how project and timesheet task screens are presented, including shared task views and related styling. It should make the affected project timesheet pages clearer or more consistent for users, though the PR description does not specify the exact business outcome.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Spreadsheet documents now avoid an unnecessary data conversion step when reading stored spreadsheet content. This reduces processing time for large spreadsheet files, making spreadsheet access noticeably faster without changing user workflows.
Original PR description
This commit removes unnecessary base64 encoding and decoding operations when computing `spreadsheet_data` which contains the serialised json data. Previously, the binary field `spreadsheet_binary_data` was base64-encoded (as is the case with all binary fields), meaning the file was read, encoded to base64, and assigned to `spreadsheet_binary_data`. To retrieve the serialized JSON, it then had to be decoded again. By avoiding this redundant steps, we optimize the time spent in `_compute_spreadsheet_data`: before: ~100ms after: ~30ms Task: 4256155
Original PR description
Description of the issue/feature this PR addresses: Clean the drop down menu hover on the "mobile menu" word by remplacing the "mobile menu" to "QR menu" for better constancy with the settings Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update refreshes Odoo's spreadsheet engine with fixes and improvements for pivot tables, charts, formatting, autofill, clipboard handling, and Excel export. Users should see more reliable spreadsheet behavior, better chart handling, and fewer issues when duplicating or exporting spreadsheet content.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/1771f68b4 [REL] 18.0.1 Task: 0 https://github.com/odoo/o-spreadsheet/commit/7ea2733a9 [FIX] session: ignore already…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/1771f68b4 [REL] 18.0.1 Task: 0 https://github.com/odoo/o-spreadsheet/commit/7ea2733a9 [FIX] session: ignore already processed SNAPSHOT_CREATED Task: 4243943 https://github.com/odoo/o-spreadsheet/commit/77c19d8f8 [FIX] pivot: finer grained cycle detection Task: 4214188 https://github.com/odoo/o-spreadsheet/commit/246d233be [FIX] data validation: unify checkbox style Task: 4235283 https://github.com/odoo/o-spreadsheet/commit/2a83a3efc [FIX] pivot: date time measures are not supported Task: 4241036 https://github.com/odoo/o-spreadsheet/commit/7dfcb2a7c [IMP] pivot: duplicate pivot with table Task: 4048028 https://github.com/odoo/o-spreadsheet/commit/d29a874ba [FIX] paint format: properly paint borders and tables Task: 4213894 https://github.com/odoo/o-spreadsheet/commit/a006d0b46 [IMP] autofill: support date autofill Task: 4173602 https://github.com/odoo/o-spreadsheet/commit/941317f65 [FIX] pivot: remove forbidden chars when duplicating Task: 4221325 https://github.com/odoo/o-spreadsheet/commit/3fd1ef930 [FIX] clipboard: cannot paste whole table style Task: 4218988 https://github.com/odoo/o-spreadsheet/commit/eb412abf4 [FIX] xlsx: fix table total row export Task: 4206619 https://github.com/odoo/o-spreadsheet/commit/70e8b8f79 [FIX] pivot: wrong headers with hidden measures Task: 4190869 https://github.com/odoo/o-spreadsheet/commit/d85d4bc01 [FIX] pivot: running total display with multiple measures Task: 4207244 https://github.com/odoo/o-spreadsheet/commit/449782abe [IMP] charts: handles multiple bars in combo chart Task: 4164614 https://github.com/odoo/o-spreadsheet/commit/d89d673be [FIX] autocomplete: Stop the range selection after selecting a pivot proposal Task: 4176481 https://github.com/odoo/o-spreadsheet/commit/f0d1602ee [PERF] Actions: Fill missing ids with fast unique values Task: 4216427 https://github.com/odoo/o-spreadsheet/commit/cee2e47e8 [REL] 18.0 https://github.com/odoo/o-spreadsheet/commit/de00e5f17 [FIX] charts: fix combo chart export Task: 4092078 https://github.com/odoo/o-spreadsheet/commit/f1a7866f7 [IMP] Charts: ignore hidden row/cols in datasets and labels Task: 3976159 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: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@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>
This fix gives avatar-based employee/user fields enough room in list views and prevents action buttons from spilling outside their columns. Work order lists should look cleaner and remain usable when buttons change after an action starts.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Closing a restaurant register now ignores unfinished local orders that do not yet have a final system ID. This prevents an error when canceling ongoing table orders, helping staff close sessions reliably.
Original PR description
Steps to reproduce:
---
- Install the ``pos_restaurant`` module
- Open Register of Restaurant > Select any table
- Add two tables from the (+) sign
- Complete the order in the first table and In the second table just order the food(Don't make payment)
- Now Close the register and cancel the orders
Traceback:
---
``Expected singleton: pos.order('p', 'o', 's', '.', 'o', 'r', 'd', 'e', 'r', '_', '3')``
Previous Behaviour:
---
When we closed the register and canceled an order, it included orders with a status of 'Ongoing.' These ongoing orders have an ``order ID like "pos.order_3"`` which is causing an error.
After Commit:
---
We will now only pass the order whose id will be in number when closing the register. Due to this, we will only have the order whose id is in number.
sentry-5703437687
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis fix prevents module upgrades from failing when payroll work entry types update their country information while existing work entries are present. Businesses can upgrade affected payroll localization modules without manually removing or changing existing work entry records.
Original PR description
A new constraint on model `hr.work.entry.type` triggers an error while updating `country_id` if related work entries exist. Since a lot of the data records from enterprise don't have the noupdate flag and they include the country as a field to update, the constraint is triggered just by upgrading the module. Steps to reproduce: - Install one of the affected modules (eg `l10n_au_hr_payroll`) - Create a work entry from one of the types from the module - Upgrade the module.
Fixed an error that prevented users from opening Vietnamese sales and purchase tax return reports in certain tax period views. This ensures companies using Vietnam localization can access required tax reports reliably.
Original PR description
Currently, a traceback is occurring when the user tries to open a Vietnamese tax returns report. To reproduce this issue: 1) Install l10n_vn_reports and switch to VN company 2) Create an invoice with a product and tax 3) Now open the Tax Returns and change the report as `Sales/Purchase Tax Report (VN)` and tax period in years Error:- ``` ProgrammingError: can't adapt type 'dict' ``` This error is occurring because in `column_group_options` we get the values as dict. For the method `_currency_table_apply_rate` we expect the value to be in the string. To handle the dict for returning the join conditions we use `_currency_table_aml_join`. sentry-5962808992