summaryrefslogtreecommitdiff
path: root/addons/l10n_latam_invoice_document/models/res_company.py
blob: b37c24ef9aeb87e609a0fe17de32b33ddf97c696 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models


class ResCompany(models.Model):

    _inherit = "res.company"

    def _localization_use_documents(self):
        """ This method is to be inherited by localizations and return True if localization use documents """
        self.ensure_one()
        return False