mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
opt seo
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
<field name="published_date" optional="hide"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='is_seo_optimized']" 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"/>
|
||||
<button name="action_post_debug_view" type="object" title="Settings" icon="fa-bug fa-lg"/>
|
||||
<button name="action_post_code_view" type="object" title="Source Code" icon="fa-code fa-lg"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -40,8 +40,11 @@
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='is_seo_optimized']" position="before">
|
||||
<button name="action_page_debug_view" position="move"/>
|
||||
<button name="action_page_code_view" type="object" title="Source Code" icon="fa-code fa-lg" groups="base.group_no_one"/>
|
||||
<button name="action_page_form_view" type="object" title="Properties Set" icon="fa-file-text-o fa-lg" groups="base.group_no_one"/>
|
||||
<button name="action_page_code_view" type="object" title="Source Code" icon="fa-code fa-lg"/>
|
||||
<button name="action_page_form_view" type="object" title="Properties Set" icon="fa-file-text-o fa-lg" />
|
||||
</xpath>
|
||||
<xpath expr="//button[@name='action_page_debug_view']" position="attribute">
|
||||
<attribute name="groups"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<field name="type">tree</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='is_seo_optimized']" position="before">
|
||||
<button name="action_product_debug_view" type="object" title="Content Set" icon="fa-bug fa-lg" groups="base.group_no_one"/>
|
||||
<button name="action_product_code_view" type="object" title="Source Code" icon="fa-code fa-lg" groups="base.group_no_one"/>
|
||||
<button name="action_product_debug_view" type="object" title="Content Set" icon="fa-bug fa-lg"/>
|
||||
<button name="action_product_code_view" type="object" title="Source Code" icon="fa-code fa-lg"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='website_url']" position="attributes">
|
||||
<attribute name="optional">hide</attribute>
|
||||
|
||||
Reference in New Issue
Block a user