Public release from ruodoo-project: 19.0 - 2026-11-01 22:52:25 UTC
This commit is contained in:
14
payroll_account/models/hr_contract.py
Normal file
14
payroll_account/models/hr_contract.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class HrContract(models.Model):
|
||||
# В Odoo 19 «контракт» — это версия сотрудника (hr.version).
|
||||
_inherit = "hr.version"
|
||||
|
||||
analytic_account_id = fields.Many2one(
|
||||
"account.analytic.account", "Analytic Account"
|
||||
)
|
||||
journal_id = fields.Many2one("account.journal", "Salary Journal")
|
||||
Reference in New Issue
Block a user