diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-08-29 03:59:09 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-08-29 03:59:09 +0000 |
| commit | a14315652c37267e437ce644190781486f73aa10 (patch) | |
| tree | 75c64f5450780ba34da03676dd245f39e21e0908 | |
| parent | a20c3840b991dd910202e91ab44236e8db667816 (diff) | |
| parent | 8e7e127bb6e7f5b67771e24ba12322ff2718399a (diff) | |
Merged in development (pull request #4)
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 26e0ddb7..ec806121 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> |
