15 lines
442 B
Python
15 lines
442 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
from odoo import models, api
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = "res.partner"
|
|
|
|
@api.model
|
|
def _load_pos_data_fields(self, config):
|
|
"""Override."""
|
|
params = super()._load_pos_data_fields(config)
|
|
if self.env.company.country_id.code == "BR":
|
|
params += ["l10n_latam_identification_type_id"]
|
|
return params
|