odoo/odoo#190637

Created by fw-bot
Merged at 24717220a0e47939539c03d8e75abe752e54e236

Statuses:

label
odoo-dev:saas-17.2-18.0-opw-4217228-l10n_cl_taxpayer_type-scju-laZ0-fw
head
54e5944cb8f7ee88fd09611bc38c04964af09b66
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