19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:16 +01:00
parent 89c6e82fe7
commit 1b82c20a58
572 changed files with 43570 additions and 53303 deletions

View file

@ -0,0 +1,14 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.http import request
from odoo.addons.l10n_latam_base.controllers.portal import L10nLatamBasePortalAccount
class L10nUYPortalAccount(L10nLatamBasePortalAccount):
def _l10n_get_default_identification_type_id(self):
return (
(self.env.company.country_code == 'UY' and request.env.ref('l10n_uy.it_ci'))
or super()._l10n_get_default_identification_type_id()
)