odoo/odoo#190644

Created by fw-bot
Merged at 74da275bdf4bd972b6d92574120debaf0f937c81

Statuses:

label
odoo-dev:saas-17.4-18.0-opw-4217228-l10n_cl_taxpayer_type-scju-cAmU-fw
head
6002e03d9ef8bb3bc718b4026b46756adbcd501e
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