opt misc seo

This commit is contained in:
Ivan Office
2023-10-31 15:25:04 +08:00
parent 7357339bb5
commit e78c7ee56a
2 changed files with 17 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
<attribute name="optional">hide</attribute>
</xpath>
<xpath expr="//field[@name='is_seo_optimized']" position="attributes">
<attribute name="optional">hide</attribute>
<attribute name="optional">show</attribute>
</xpath>
<xpath expr="//field[@name='is_published']" position="attributes">
<attribute name="optional">show</attribute>
@@ -25,6 +25,7 @@
<field name="website_meta_keywords" optional="show"/>
<field name="website_meta_title" optional="hide"/>
<field name="website_meta_description" optional="hide"/>
<field name="tag_ids" widget="many2many_tags" optional="hide"/>
</xpath>
<xpath expr="//field[@name='author_id']" position="before">
<field name="visits" optional="show"/>

View File

@@ -8,12 +8,27 @@
<xpath expr="//field[@name='name']" position="before">
<field name="id" groups="base.group_no_one" optional="show"/>
</xpath>
<xpath expr="//field[@name='name']" position="attributes">
<attribute name="optional">show</attribute>
</xpath>
<xpath expr="//field[@name='website_indexed']" position="attributes">
<attribute name="optional">show</attribute>
</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='is_published']" position="attributes">
<attribute name="optional">show</attribute>
</xpath>
<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='is_published']" position="before">
<field name="is_force_all" widget="boolean_toggle" optional="show"/>
</xpath>