odoo/odoo#190652

Created by fw-bot
Merged at 4394940a09900aa5b42cbc05355880598608d1b6

Statuses:

label
odoo-dev:master-18.0-opw-4217228-l10n_cl_taxpayer_type-scju-w2Sn-fw
head
ab21e80c904d83e034488774a7f691e31f303889
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