mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 11:52:00 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -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
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue