This commit is contained in:
Ivan Office
2025-01-05 04:33:49 +08:00
parent 2a228309d6
commit 016bd5ad36
3 changed files with 7 additions and 4 deletions

View File

@@ -12,3 +12,5 @@ class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
module_app_cn_po = fields.Boolean('SaaS Chinese PO', help="Checked to Sync Odoo Chinese from www.odooapp.cn")
app_saas_db_token = fields.Boolean('Ai Cloud Token', default=True, config_parameter='app_saas_db_token',
help="The odooapp SaaS Token for this Odoo Database. You can reset in https://www.odooapp.cn")

View File

@@ -39,7 +39,7 @@
{
'name': "Website Blogs,Page Editor in source code. mass edit blog and page.Odoo网页与博文源码编辑器",
'version': '16.24.08.04',
'version': '16.0.25.01.05',
'author': 'odooai.cn',
'category': 'Website',
'website': 'https://www.odooai.cn',

View File

@@ -26,9 +26,10 @@
<xpath expr="//field[@name='is_seo_optimized']" position="attributes">
<attribute name="optional">show</attribute>
</xpath>
<xpath expr="//field[@name='website_id'][2]" position="attributes">
<attribute name="optional">show</attribute>
</xpath>
<!-- 修正,当没开启多站点时,这里会报错-->
<!-- <xpath expr="//field[@name='website_id'][2]" position="attributes">-->
<!-- <attribute name="optional">show</attribute>-->
<!-- </xpath>-->
<xpath expr="//field[@name='is_published']" position="before">
<field name="is_force_all" widget="boolean_toggle" optional="show"/>
</xpath>