Odoo18-Base/addons/l10n_eg_edi_eta/models/res_company.py
2025-01-06 10:57:38 +07:00

17 lines
721 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import models, fields
class ResCompany(models.Model):
_inherit = 'res.company'
l10n_eg_client_identifier = fields.Char('ETA Client ID', groups="base.group_erp_manager")
l10n_eg_client_secret = fields.Char('ETA Secret', groups="base.group_erp_manager")
l10n_eg_production_env = fields.Boolean('In Production Environment')
l10n_eg_invoicing_threshold = fields.Float('Invoicing Threshold', default=0.0,
help="Threshold at which you are required to give the VAT number "
"of the customer. ")