Odoo18-Base/addons/l10n_latam_base/__init__.py
2025-01-06 10:57:38 +07:00

13 lines
328 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
def _set_default_identification_type(env):
env.cr.execute(
"""
UPDATE res_partner
SET l10n_latam_identification_type_id = %s
""",
[env.ref('l10n_latam_base.it_vat').id]
)