diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-08-29 10:58:05 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-08-29 10:58:05 +0700 |
| commit | 8e7e127bb6e7f5b67771e24ba12322ff2718399a (patch) | |
| tree | 6c1f095e8935b351e1978af14d5d27f4a3a78462 | |
| parent | 349ddaed037e2a9eec7b96d31536924abd5601ed (diff) | |
Fix show SEO page and Content page
| -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> |
