summaryrefslogtreecommitdiff
path: root/addons/gamification/wizard/update_goal.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/gamification/wizard/update_goal.xml
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/gamification/wizard/update_goal.xml')
-rw-r--r--addons/gamification/wizard/update_goal.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/addons/gamification/wizard/update_goal.xml b/addons/gamification/wizard/update_goal.xml
new file mode 100644
index 00000000..53275077
--- /dev/null
+++ b/addons/gamification/wizard/update_goal.xml
@@ -0,0 +1,19 @@
+<odoo>
+ <record id="view_goal_wizard_update_current" model="ir.ui.view">
+ <field name="name">Update the current value of the Goal</field>
+ <field name="model">gamification.goal.wizard</field>
+ <field name="arch" type="xml">
+ <form string="Grant Badge To">
+ Set the current value you have reached for this goal
+ <group>
+ <field name="goal_id" invisible="1"/>
+ <field name="current" />
+ </group>
+ <footer>
+ <button string="Update" type="object" name="action_update_current" class="btn-primary" />
+ <button string="Cancel" special="cancel" class="btn-secondary"/>
+ </footer>
+ </form>
+ </field>
+ </record>
+</odoo>