Files
enterprise-addons/l10n_fr_reports/models/res_company.py
T

13 lines
306 B
Python

# -*- coding: utf-8 -*-
from odoo import models
class ResCompany(models.Model):
_inherit = 'res.company'
def _get_countries_allowing_tax_representative(self):
rslt = super()._get_countries_allowing_tax_representative()
rslt.add(self.env.ref('base.fr').code)
return rslt