diff options
| -rwxr-xr-x | indoteknik_custom/__manifest__.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/views/blog_post.xml | 11 |
2 files changed, 9 insertions, 3 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index 919a61a2..a2ecfb6c 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -11,6 +11,7 @@ 'depends': ['base', 'coupon', 'delivery', 'sale', 'sale_management', 'vit_kelurahan'], 'data': [ 'security/ir.model.access.csv', + 'views/blog_post.xml', 'views/coupon_program.xml', 'views/product_public_category.xml', 'views/product_template.xml', diff --git a/indoteknik_custom/views/blog_post.xml b/indoteknik_custom/views/blog_post.xml index 0acf6aa5..abb6be8b 100644 --- a/indoteknik_custom/views/blog_post.xml +++ b/indoteknik_custom/views/blog_post.xml @@ -9,9 +9,14 @@ <field name="blog_id" position="before"> <field name="thumbnail" widget="image" width="240" /> </field> - <xpath expr="//notebook/page[@name=seo]" position="attributes"> - <attribute name="groups">website.group_website_designer</attribute> - </xpath> + <page name="seo" position="attributes"> + <attribute name="groups"/> + </page> + <page name="seo" position="after"> + <page name="content" string="Content"> + <field name="content"/> + </page> + </page> </field> </record> </data> |
