summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2023-02-23 10:27:19 +0700
committerstephanchrst <stephanchrst@gmail.com>2023-02-23 10:27:19 +0700
commit75aabb813212ab796a10ee74f7f24e337d6b7ca0 (patch)
treedf2cd1b933f1fe58d6ecda894de7f43c89c8fc46 /indoteknik_custom/views
parent861bb64e5a972b8ce9b09d2345dbb6250d041435 (diff)
add blog replace keyword to link
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/blog_post.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/blog_post.xml b/indoteknik_custom/views/blog_post.xml
index abb6be8b..d34a82d4 100644
--- a/indoteknik_custom/views/blog_post.xml
+++ b/indoteknik_custom/views/blog_post.xml
@@ -7,7 +7,13 @@
<field name="inherit_id" ref="website_blog.view_blog_post_form" />
<field name="arch" type="xml">
<field name="blog_id" position="before">
+ <button name="replace_keyword_to_link"
+ string="Replace Keyword"
+ type="object"
+ class="oe_highlight oe_edit_only"
+ />
<field name="thumbnail" widget="image" width="240" />
+ <field name="category_id"/>
</field>
<page name="seo" position="attributes">
<attribute name="groups"/>