mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix misc
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user