Friday, February 14, 2025
5 changes · saas-18.1
Resolved issues and error corrections
Users can now delete attachments without encountering an unexpected error when the Indian e-Way Bill module is installed. This prevents disruption in attachment management caused by a missing dependency-related method call.
Original PR description
Currently, a traceback is occurring when the user tries to unlink an attachment. To reproduce this issue: 1) Install `l10n_in_ewaybill` 2) Try to unlink any attachments from…
Currently, a traceback is occurring when the user tries to unlink an attachment. To reproduce this issue: 1) Install `l10n_in_ewaybill` 2) Try to unlink any attachments from `settings/technical/attachments` Error:- ``` AttributeError: 'super' object has no attribute '_unlink_except_government_document' ``` This error was occurring because of the latest changes from the below commit. https://github.com/odoo/odoo/pull/195701/commits/f2a5024f6fb43110e1f0672db89df7c67f54412d Here the method `_unlink_except_government_document` is actually defined in the `account_edi` module. https://github.com/odoo/odoo/blob/dea5b91e6917fc52bd39bf77fcc59fd648635158/addons/account_edi/models/ir_attachment.py#L11 But in the above commit, a super call was used in `l10n_in_ewaybill`. Here the `l10n_in_ewaybill` module is not dependent on `account_edi` directly or indirectly. https://github.com/odoo/odoo/blob/dea5b91e6917fc52bd39bf77fcc59fd648635158/addons/l10n_in_ewaybill/models/ir_attachment.py#L20 This will lead to the above traceback. sentry-6272499414
This update refreshes the spreadsheet component with fixes for layout, charts, formulas, sheet deletion, and collaborative editing. Users should see fewer interruptions when editing spreadsheets together, creating charts, or working with longer formula entries.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/02682f4d9 [REL] 18.1.8 Task: 0 https://github.com/odoo/o-spreadsheet/commit/e0bb15852 [FIX] composer: multiline…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/02682f4d9 [REL] 18.1.8 Task: 0 https://github.com/odoo/o-spreadsheet/commit/e0bb15852 [FIX] composer: multiline composer breaks the topbar layout Task: 4521789 https://github.com/odoo/o-spreadsheet/commit/d732b757f [FIX] chart: label header prevents creating linear/time charts Task: 4543496 https://github.com/odoo/o-spreadsheet/commit/07b23101f [FIX] chart: fix test clicking on wrong checkbox Task: 4543496 https://github.com/odoo/o-spreadsheet/commit/42d27fad9 [FIX] UUID: Reduce uuid size everywhere except revisions Task: 4532659 https://github.com/odoo/o-spreadsheet/commit/6df8ff1b2 [FIX] formulas: SORTN is not exported anymore Task: 4564445 https://github.com/odoo/o-spreadsheet/commit/0be2301d7 [FIX] collaborative: recompute selection after concurrent sheet modifications Task: 4559104 https://github.com/odoo/o-spreadsheet/commit/67a2b7ade [sheet] prevent deletion of the last visible sheet Task: 4555893 https://github.com/odoo/o-spreadsheet/commit/9325a4714 [FIX] collaborative: fix undo concurrence issues Task: 4558024 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>
Fixes an error that could interrupt users when creating a new stock move line in delivery operations. The change prevents the system from continuing quantity calculations when the related stock move is not yet set, allowing the workflow to continue smoothly.
Original PR description
Currently, a traceback is occurring when the user tries to create a new stock move line. To reproduce this issue: 1) Install stock 2) Open/Create a draft/Ready deliveries stock picking record 3)…
Currently, a traceback is occurring when the user tries to create a new stock move line. To reproduce this issue: 1) Install stock 2) Open/Create a draft/Ready deliveries stock picking record 3) Click on the `Moves` stat button from the Picking 4) Create a new Move line record and remove the `pick From` 5) Add a `product` and `pick From` values Error:- ``` ValueError: Expected singleton: stock.move() ``` This error occurred because of the recent changes in the commit below. https://github.com/odoo/odoo/pull/190467/commits/c8afad87a3e51ba4c0051e44d46080f3b00f61c7 When the user adds the `quant_id` value, we get the move_id as an empty record, leading to the above traceback from the below line. Because of the `ensure_one()` in the `_visible_quantity()` method. https://github.com/odoo/odoo/blob/963af3819c27f28c07443b80e7a1fc746afd4607/addons/stock/models/stock_move_line.py#L152 We can resolve this issue by skipping the further computation when there is no move_id. sentry-6256719588
Fixed an issue that caused Argentinian point-of-sale shops to crash when opened in debug mode. This helps businesses using the Argentina localization reliably open and test POS sessions without interruption.
Original PR description
Currently, if you open a session in AR in debug mode the session will crash. Steps to reproduce: ------------------- * Install **l10n_ar_pos** and switch to AR Compatny (Extento) * Create **Clothes…
Currently, if you open a session in AR in debug mode the session will crash. Steps to reproduce: ------------------- * Install **l10n_ar_pos** and switch to AR Compatny (Extento) * Create **Clothes shop** * Go into debug mode * Open shop > Observation: Shop crashes, invalid props: 'partner' is not an object or null Why the fix: ------------ The `ActionpadWidget` is waiting for an Object or null. https://github.com/odoo/odoo/blob/e4f5b3f42d5535f14280a5bfcb257f76772eee2a/addons/point_of_sale/static/src/app/screens/product_screen/action_pad/action_pad.js#L11 https://github.com/odoo/odoo/blob/e4f5b3f42d5535f14280a5bfcb257f76772eee2a/addons/point_of_sale/static/src/app/screens/product_screen/product_screen.xml#L14-L20 The props is not correct as when we we the `_consumidor_final_anonimo_id` here we set the `partner_id` as an integer. It will stay as an integer. https://github.com/odoo/odoo/blob/e4f5b3f42d5535f14280a5bfcb257f76772eee2a/addons/l10n_ar_pos/static/src/app/models/pos_order.js#L9 By comparing with the `l10n_cl_edi_pos` and `l10n_pe_pos` localizations which are using `_consumidor_final_anonimo_id` in an almost similar way, they use it in `pos_store.js` when creating the order. At this point, the PosOrder has finished to setup and when we set `partner_id` to an integer it will transform it into the ResPartner object. opw-4568758
Canceling a reopened restaurant POS order could leave the preparation display unusable with a blank screen. This fix keeps the screen stable after cancellation, reducing disruption for restaurant staff during service.
Original PR description
Issue: A blank screen appears after canceling an order. Steps to reproduce: - Open a POS restaurant - Select a table - Order some food - Reopen the order - Cancel the order