diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-08-29 03:42:50 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-08-29 03:42:50 +0000 |
| commit | a20c3840b991dd910202e91ab44236e8db667816 (patch) | |
| tree | b76ac83bcddfeb9f42e38a04227febbd26c47eaa /indoteknik_custom/views | |
| parent | a28e01d3df18301057c33930b11655cc9d623b64 (diff) | |
| parent | 349ddaed037e2a9eec7b96d31536924abd5601ed (diff) | |
Merged in development (pull request #3)
Menambahkan thumbnail blog dan mengubah group attr SEO Blog
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/blog_post.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/indoteknik_custom/views/blog_post.xml b/indoteknik_custom/views/blog_post.xml new file mode 100644 index 00000000..0acf6aa5 --- /dev/null +++ b/indoteknik_custom/views/blog_post.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="blog_post_form_view_inherit" model="ir.ui.view"> + <field name="name">Blog Posts</field> + <field name="model">blog.post</field> + <field name="inherit_id" ref="website_blog.view_blog_post_form" /> + <field name="arch" type="xml"> + <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> + </field> + </record> + </data> +</odoo>
\ No newline at end of file |
