增加云客户端

This commit is contained in:
Ivan Office
2024-11-08 18:41:02 +08:00
parent be545f3db7
commit 9041a4d74a
38 changed files with 679 additions and 26 deletions

View File

@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
import logging
from odoo import api, fields, models, _
from odoo.exceptions import UserError, ValidationError
_logger = logging.getLogger(__name__)
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
app_saas_ok = fields.Boolean('Enable CN SaaS', help="Checked to Enable www.odooapp.cn cloud service.", default=True, config_parameter='app_saas_ok')