Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC
This commit is contained in:
16
payroll/models/hr_rule_input.py
Normal file
16
payroll/models/hr_rule_input.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class HrRuleInput(models.Model):
|
||||
_name = "hr.rule.input"
|
||||
_description = "Salary Rule Input"
|
||||
|
||||
name = fields.Char(string="Description", required=True)
|
||||
code = fields.Char(
|
||||
required=True, help="The code that can be used in the salary rules"
|
||||
)
|
||||
input_id = fields.Many2one(
|
||||
"hr.salary.rule", string="Salary Rule Input", required=True
|
||||
)
|
||||
Reference in New Issue
Block a user