Tuesday, August 27, 2024
5 changes · saas-17.4
Resolved issues and error corrections
This fixes an error that blocked Point of Sale invoices from being generated when using Mexican localization. Businesses can now complete POS sales with customer invoices as expected, avoiding interruptions at checkout.
Original PR description
### Steps to reproduce: - Install 'l10n_mx' and switch to a Mexican company - Go to POS and make a sale - Select a customer and the option to generate an invoice - Validate - An error shows up ### Cause: In the method `_prepare_invoice_proforma_pdf_report` content is interpreted as an array (`'raw': content[invoice.id]`) but is actually the binary. This change was made in this [performance commit](https://github.com/odoo/odoo/commit/0e73d3f1751495786eb2b18384ea39f4da18e3fb) But this change considers `content` is a dictionary like returned by the method `_pre_render_qweb_pdf`, it is not. ### Solution: Call `_pre_render_qweb_pdf` instead of `_render` opw-4121014
This fix prevents Point of Sale orders from failing when the user's language uses Arabic numerals. It ensures dates are saved in a database-compatible format, allowing customers to complete card payments without errors.
Original PR description
Problem: In POS, when we start an order, the date is created on the client side. If the client's language is set to Arabic, the date will be in Arabic numerals, which causes a crash when adding it to the database. Steps to reproduce: - Install the Arabic language. - Open POS. - Create an order with any product, select "Card," and Pay. - A traceback occurs. opw-4109126 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change adds a validation to stop a company partner record from being linked to a different company. It helps prevent access problems and inconsistent business data when company and partner relationships do not match.
Original PR description
This PR introduces a constraint on res_partner to enforce consistency between a company's partner and that partner's associated company. If a partner represents a company, it makes no sense for it's company_id to be another one as It would cause access errors and issues in other models (`recordx.partner_id.company_id != recordx.company_id`) odoo/upgrade#6396 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
This update refreshes the spreadsheet component with several fixes focused on pivot tables, table editing, formatting, and find-and-replace behavior. Business users should see fewer errors and more consistent spreadsheet behavior when working with reports and data analysis in Odoo.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/f5648d926 [REL] 17.4.6 Task: 0 https://github.com/odoo/o-spreadsheet/commit/cd4ea5ab9 [FIX] PivotSidePanel: Allow…
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/f5648d926 [REL] 17.4.6 Task: 0 https://github.com/odoo/o-spreadsheet/commit/cd4ea5ab9 [FIX] PivotSidePanel: Allow unbounded range in the side panel Task: 4126669 https://github.com/odoo/o-spreadsheet/commit/3426a5cb4 [FIX] Pivot: `automaticAutofill` is active when inserting a pivot with a table Task: 4081309 https://github.com/odoo/o-spreadsheet/commit/fc7eb9598 [FIX] pivot: sorting of undefined headers Task: 4123261 https://github.com/odoo/o-spreadsheet/commit/e093851a4 [FIX] github: typo in PR template https://github.com/odoo/o-spreadsheet/commit/1feff3800 [FIX] clipboard: paint format after cut Task: 4077449 https://github.com/odoo/o-spreadsheet/commit/86fe02cae [FIX] header_size: JS sparse array problem Task: 4074438 https://github.com/odoo/o-spreadsheet/commit/0b99c8536 [FIX] find & replace: remove debounce from store Task: 4102172 https://github.com/odoo/o-spreadsheet/commit/dc1bbd2a1 [FIX] pivot: preserve pivot UI after undo Task: 0 https://github.com/odoo/o-spreadsheet/commit/c54298ae8 [FIX] pivot: insert pivot with id not in quotes Task: 4066384 https://github.com/odoo/o-spreadsheet/commit/6e6a23ff7 [FIX] table: fix bug when edit table with invalid range Task: 4102425 https://github.com/odoo/o-spreadsheet/commit/ad3b9cd01 [FIX] pivot: mark pivot as invalid if column name is empty Task: 4116392 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>
Work entries generated from the Gantt view now use the correct end date, preventing an extra day from being created. Gantt-based planning and work entry views also no longer stop at 1,000 displayed records, helping teams see complete schedules when working with large datasets.