Initial commit of hr_payroll_gamification for 11.0

This commit is contained in:
Jared Kipe
2019-05-15 17:38:09 -07:00
committed by Bhoomi Vaishnani
parent 483194366d
commit 973880bb96
9 changed files with 235 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from odoo import api, fields, models
class GamificationBadge(models.Model):
_inherit = 'gamification.badge'
payroll_type = fields.Selection([
('', 'None'),
('fixed', 'Fixed'),
], string='Payroll Type')
payroll_amount = fields.Float(string='Payroll Amount', digits=(10, 4))