Wednesday, November 13, 2024
3 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-4321674The 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