mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
prepare #I9JAI9 [app_ai_seo]让15版本正常
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
{
|
||||
'name': "Website Blogs Editor in Backend",
|
||||
'version': '15.23.09.08',
|
||||
'version': '15.24.06.18',
|
||||
'author': 'odooai.cn',
|
||||
'category': 'Base',
|
||||
'website': 'https://www.odooai.cn',
|
||||
|
||||
@@ -11,16 +11,11 @@
|
||||
<xpath expr="//field[@name='name']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='website_url']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='is_seo_optimized']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='is_published']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='website_url']" position="after">
|
||||
<xpath expr="//field[@name='is_published']" position="after">
|
||||
<field name="seo_name" optional="show"/>
|
||||
<field name="website_meta_keywords" optional="show"/>
|
||||
<field name="website_meta_title" optional="hide"/>
|
||||
@@ -32,7 +27,7 @@
|
||||
<xpath expr="//field[@name='write_date']" position="after">
|
||||
<field name="published_date" optional="hide"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='is_seo_optimized']" position="before">
|
||||
<xpath expr="//field[@name='is_published']" position="before">
|
||||
<button name="action_post_debug_view" type="object" title="Settings" icon="fa-bug fa-lg" groups="base.group_no_one"/>
|
||||
<button name="action_post_code_view" type="object" title="Source Code" icon="fa-code fa-lg" groups="base.group_no_one"/>
|
||||
</xpath>
|
||||
@@ -50,9 +45,6 @@
|
||||
options="{'style-inline': true, 'codeview': true, 'dynamic_placeholder': true}"/>
|
||||
</page>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='visits']" position="attributes">
|
||||
<attribute name="readonly">0</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -8,20 +8,13 @@
|
||||
<xpath expr="//field[@name='name']" position="before">
|
||||
<field name="id" groups="base.group_no_one" optional="show"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='website_url']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='is_in_menu']" position="attributes">
|
||||
<attribute name="optional">show</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='website_url']" position="after">
|
||||
<xpath expr="//field[@name='is_published']" position="after">
|
||||
<field name="seo_name" invisible="1"/>
|
||||
<field name="website_meta_keywords" optional="show"/>
|
||||
<field name="website_meta_title" optional="hide"/>
|
||||
<field name="website_meta_description" optional="hide"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='is_seo_optimized']" position="before">
|
||||
<button name="action_page_debug_view" position="move"/>
|
||||
<xpath expr="//field[@name='is_published']" position="before">
|
||||
<button name="action_page_code_view" type="object" title="Source Code" icon="fa-code fa-lg" groups="base.group_no_one"/>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user