summaryrefslogtreecommitdiff
path: root/addons/website_profile/views/gamification_badge_views.xml
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/website_profile/views/gamification_badge_views.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/website_profile/views/gamification_badge_views.xml')
-rw-r--r--addons/website_profile/views/gamification_badge_views.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/addons/website_profile/views/gamification_badge_views.xml b/addons/website_profile/views/gamification_badge_views.xml
new file mode 100644
index 00000000..f7b3b087
--- /dev/null
+++ b/addons/website_profile/views/gamification_badge_views.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <record id="gamification_badge_view_form" model="ir.ui.view">
+ <field name="name">gamification.badge.view.form.inherit.website</field>
+ <field name="model">gamification.badge</field>
+ <field name="inherit_id" ref="gamification.badge_form_view"/>
+ <field name="arch" type="xml">
+ <xpath expr="//div[@name='button_box']" position="inside">
+ <button name="website_publish_button" type="object" class="oe_stat_button" icon="fa-globe">
+ <field name="is_published" widget="website_publish_button"/>
+ </button>
+ </xpath>
+ </field>
+ </record>
+</odoo>