Wednesday, November 13, 2024
5 changes · 18.0
Resolved issues and error corrections
This fix prevents the Peppol account module from overwriting standard portal page behavior. Users can now use My Account fields such as country and state selection correctly when both Portal and Peppol features are installed.
Original PR description
When we install portal as well as account_peppol module and go to My Account, so feature are not working, for e.g. changing country will not change State selection, it is because we have PublicWidget with name `publicWidget.registry.portalDetails` in portal module while we are using same name in account_peppol module which replaces the existing PublicWidget `portalDetails`. To fix this issue we have used `inlcude` feature which will patch existing class `portalDetails` of portal module. The issue arise with commit: https://github.com/odoo/odoo/pull/182585/commits/857b9a188c77cef2e3cd8a1c6b3035e7cd8d1305#diff-e0a8e9753f5e3ae55848bc264b7546eb7e187fe77c7500f9ebd97b1edfb23f46 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix allows businesses using Peppol accounting features to create partner records through external API integrations again. It prevents an error that blocked automated partner creation, helping connected systems continue working reliably.
Original PR description
The issue:
When account_peppol is installed, we are not able to create a res_partner via XML-RPC. Got this error : `TypeError: ResPartner.create() missing 1 required positional argument: vals_list`
How to reproduce the issue:
1. Install 'account_peppol'
2. Setup API with Python
3. Execute : `id = models.execute_kw(db, uid, password, 'res.partner', 'create', [{'name': "New Partner"}])`
opw-4291258
opw-4321674This fix addresses a traceback in the Manufacturing app that could interrupt users during production-related workflows. It improves reliability by preventing an unexpected error from blocking normal operations.
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
Employee-linked documents uploaded through the Documents app no longer automatically give the employee viewing rights. This helps keep sensitive HR files private while preserving the intended document linkage to employee records.
Original PR description
…loyee doc How to reproduce: - Install documents_hr - Activate "Human resources" Centralize your employees' documents - Open "Abigail Peterson" employee form - Click on the "Documents" stat button - Upload a document - Click on the "Share" button "Abigail Peterson" is set as viewer of the document but mustn't. To solve the problem, we avoid to set automatically the employee as viewer of a document uploaded in the Document app. But if a file is uploaded in the chatter of the employee record, the employee will be viewer of the document automatically created when the centralize employee documents option is enabled. This exception is introduced to cover the use-case of uploading a C4 of an employee in the document app that the employee must not have access to but that must be linked to the employee record. Task-4212817
The Colombian withholding certificate report no longer fails when generated or exported to PDF in Spanish (Latin America). This ensures users can reliably access required tax withholding certificates for vendor bills.
Original PR description
We have 2 errors in the generation of report "Certificado de Retencion de la fuente" General setup: - With a CO Company - Open Vendor Journal and disable the "Electronic Invoice: DIAN 2.1" check -…
We have 2 errors in the generation of report "Certificado de Retencion de la fuente"
General setup:
- With a CO Company
- Open Vendor Journal and disable the "Electronic Invoice: DIAN 2.1" check
- Create a Vendor Bill with a VAT 19% Tax and "4% RteFte S L", add bill date and confirm
**Error 1**
Go to Reports -> Certificado de Retencion de la fuente
Error will raise
```
psycopg2.errors.UndefinedFunction: operator does not exist: text ->> unknown
LINE 14: ...R || ' ' || "account_move_line__account_id"."name"->>'en_US'...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
```
**Error 2**
Enable and activate language "Spanish (Latin America)"
Go to Reports -> Certificado de Retencion de la fuente
Expand the partner for which the vendor was crated, click on PDF
Error will raise
```
psycopg2.errors.UndefinedTable: missing FROM-clause entry for table "aa"
LINE 21: GROUP BY rp.id , aa.id
```
opw-4284787