mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
17 lines
710 B
XML
17 lines
710 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="hr_salary_rule_gamification" model="hr.salary.rule">
|
|
<field name="condition_select">python</field>
|
|
<field name="condition_python">result = inputs.BADGES.amount > 0.0 if inputs.BADGES else False</field>
|
|
<field name="amount_select">code</field>
|
|
<field name="amount_python_compute">result = inputs.BADGES.amount if inputs.BADGES else 0</field>
|
|
<field name="code">BADGES</field>
|
|
<field name="category_id" ref="hr_payroll.BASIC"/>
|
|
<field name="name">Badges</field>
|
|
<field name="sequence" eval="90"/>
|
|
<field name="struct_id" ref="hr_payroll.structure_002"/>
|
|
</record>
|
|
|
|
</odoo>
|