Daily updates from Odoo
Friday, January 31, 2025
6 changes
1 change
Resolved issues and error corrections
The spreadsheet component was updated to a newer version with fixes for number parsing and row resizing. This helps users in locales that use dots as thousand separators avoid incorrect values, and improves spreadsheet behavior when automatically resizing rows.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/0bffee921 [REL] 17.2.34 Task: 0 https://github.com/odoo/o-spreadsheet/commit/0cb28d1e8 [FIX] locale: wrong parsing with "." thousand separator Task: 4525746 https://github.com/odoo/o-spreadsheet/commit/230ca8ae2 [FIX] ui_sheet: batch resize commands in `AUTORESIZE_ROWS` Task: 4504918 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: Florian Damhaut (flda) <flda@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>
5 changes
Enhancements to existing features
The Marketing Automation interface now shows the option to add related items as a kanban card instead of a separate button. This makes the action feel more consistent with the rest of the kanban layout while keeping it available only when adding items is allowed.
Original PR description
This commit, aims change the look of the `Add` button. From now, it's a kanban card at the end of the Kanban. The label is "Add" followed by the model name of the field. The `Add` card appears only when the field match these condition: * not readonly * the kanban has the attribute "create=true" (default value) * the kanban has the attribute "link=true" (default value) * the kanban has no "control" Note we have also adapt some tests and some views due to this change task-4361655
The webclient now starts without waiting for extra IoT session checks, reducing startup delays. This improves the initial loading experience for users while keeping IoT connection details available when needed.
Original PR description
This PR uses the lazy session info mechanism to avoid an additional rpc on webclient startup. Moreover, we ensure that we do not wait for the iot channel information to start the webclient. task-4341388
UrbanPiper login details and API keys are now stored per company instead of globally. This prevents credential conflicts when multiple companies in the same Odoo instance operate in different regions, making multi-company UrbanPiper setups easier and more reliable.
Original PR description
Before this commit: ================= - UrbanPiper provides region-specific credentials (e.g., US-UK, MENA, India). In Odoo, these credentials were stored in system parameters, which caused conflicts when multiple companies from different regions operate in the same Odoo instance. After this commit: ================= - The 'UrbanPiper Username' and 'UrbanPiper API Key' fields are now stored in the `res.company` model instead of system parameters. This ensures that each company can manage its own region-specific credentials independently, avoiding conflicts in multi-company environments. Task-4420432 Related: https://github.com/odoo/upgrade/pull/6969
Resolved issues and error corrections
Fixed an issue where entering an on-hand quantity for a lot-tracked product without specifying a lot or serial number would not update inventory. This helps users keep stock levels accurate when creating inventory lines from barcode-related flows.
Original PR description
### Steps to reproduce: - Create a storable product tracked by lot/serial - Click on "On Hand" - Create a new line with 10 "On Hand Quantity" WITHOUT lot/serial - Go back to the product: The "On…
### Steps to reproduce: - Create a storable product tracked by lot/serial - Click on "On Hand" - Create a new line with 10 "On Hand Quantity" WITHOUT lot/serial - Go back to the product: The "On Hand" quantity is still at 0. - Click back to the "On Hand": the quantity of the line is back to 0. ### Cause of the issue: When a new line is created and the "On Hand Quantity" is edited from the `view_stock_quant_tree` view, we actually performs a create of the stock.quant followed by a write on the `inventory_quantity_auto_apply`. At this point the 'quantity' field of the new quant is not set and the `action_apply_inventory` of the `inventory_quantity_auto_apply` is expected to create and validate a move line in order to update our quant quantities here: https://github.com/odoo/odoo/blob/e041e890b91e5bc515e1827683f073781788f253/addons/stock/models/stock_quant.py#L230-L235 However, this steps will never be performed as we return the call before the `_apply_invetory` because our quant is set without lots: https://github.com/odoo/odoo/blob/e041e890b91e5bc515e1827683f073781788f253/addons/stock/models/stock_quant.py#L447-L449 https://github.com/odoo/odoo/blob/e041e890b91e5bc515e1827683f073781788f253/addons/stock/models/stock_quant.py#L465-L477 ### Master Fix: We remove the wizzard. opw-4428050
Code cleanup and technical improvements
Several India-specific reporting and finance add-ons have been merged into the main Indian reports module, while the separate documents module has been removed. This simplifies module management and should make Indian compliance features easier to maintain and access from one place.
Original PR description
- Removed the `l10n_in_documents` module. - Merged the following modules into `l10n_in_reports`: - `l10n_in_asset` - `l10n_in_enet_batch_payment` - `l10n_in_qr_code_bill_scan` - `l10n_in_reports_gstr` - `l10n_in_reports_tds_tcs` task: 3980324 **COM PR**: https://github.com/odoo/odoo/pull/190265 **UPGRADE PR**: https://github.com/odoo/upgrade/pull/6931