Debian Codegraph @

addons/l10n_tw_edi_ecpay/models/res_config_settings.py

raw
1 # Part of Odoo. See LICENSE file for full copyright and licensing details.
2
3 from odoo import fields, models
4
5
6 class ResConfigSettings(models.TransientModel):
7 _inherit = "res.config.settings"
8
9 l10n_tw_edi_ecpay_staging_mode = fields.Boolean(related="company_id.l10n_tw_edi_ecpay_staging_mode", readonly=False)
10 l10n_tw_edi_ecpay_merchant_id = fields.Char(related="company_id.l10n_tw_edi_ecpay_merchant_id", readonly=False)
11 l10n_tw_edi_ecpay_hashkey = fields.Char(related="company_id.l10n_tw_edi_ecpay_hashkey", readonly=False)
12 l10n_tw_edi_ecpay_hashIV = fields.Char(related="company_id.l10n_tw_edi_ecpay_hashIV", readonly=False)