Files
suite/hr_payroll_gamification/models/gamification.py

13 lines
353 B
Python

from odoo import api, fields, models
class GamificationBadge(models.Model):
_inherit = 'gamification.badge'
payroll_type = fields.Selection([
('', 'None'),
('fixed', 'Fixed'),
('period', 'Granted in Pay Period'),
], string='Payroll Type')
payroll_amount = fields.Float(string='Payroll Amount', digits=(10, 4))