# Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, models class ProductTemplate(models.Model): _inherit = "product.template" @api.model def _load_pos_data_fields(self, config): fields = super()._load_pos_data_fields(config) if self.env.company.country_id.code == 'IN': fields += ['l10n_in_hsn_code'] return fields