survey/views/gamification_badge_views.xml

27 lines
1.1 KiB
XML
Raw Normal View History

2024-10-31 15:22:02 +03:00
<?xml version="1.0" encoding="utf-8"?>
<odoo><data>
<record id="gamification_badge_form_view_simplified" model="ir.ui.view">
<field name="name">gamification.badge.form.view.simplified</field>
<field name="model">gamification.badge</field>
<field name="priority">100</field>
<field name="arch" type="xml">
<form string="Badge">
<sheet>
<div class="oe_button_box" name="button_box"/>
<field name="image_1920" widget="image" class="oe_avatar" options="{'preview_image': 'image_128'}"/>
<div class="oe_title">
<label for="name"/>
<h1>
<field name="name" placeholder="e.g. Problem Solver"/>
</h1>
</div>
<field name="description" placeholder="e.g. No one can solve challenges like you do"/>
<group string="Rewards for challenges">
<field name="level"/>
</group>
</sheet>
</form>
</field>
</record>
</data></odoo>