odoo/odoo#190649

Created by fw-bot
Merged at 2de2aacbba6f60c57a3ec3bd3f219d9eb788109a

Statuses:

label
odoo-dev:18.0-18.0-opw-4217228-l10n_cl_taxpayer_type-scju-EOJt-fw
head
94e1c7630038bb97fa82a9e75a14954e6fa84a3c
merged
10 months ago by Julien Schwanen (scju)
odoo/odoo
16.0 #188166
17.0 #190625
saas-17.2 #190637
saas-17.4 #190644
18.0 #190649
saas-18.2
saas-18.3
saas-18.4
19.0
master #190652

[FW][FIX] l10n_cl: document type for "2nd category"

When creating a supplier invoice for a provider of type "2nd category voucher issuer," the system incorrectly defaults the document type to 56 (Electronic Debit Note) instead of 71 (Electronic Fee Receipt). This results in additional manual corrections and risks errors if the document type is not updated before confirmation.

This fix ensures the system automatically selects document type 71 for providers of this category, streamlining the process and reducing error potential.

opw-4217228


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #188166