IMP hr_payroll_gamification Fix tests and implement 'per-period' badges.

This commit is contained in:
Jared Kipe
2019-05-24 11:54:16 -06:00
parent 4e7c413aa0
commit 639e5f8902
3 changed files with 58 additions and 65 deletions

View File

@@ -7,5 +7,6 @@ class GamificationBadge(models.Model):
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))