mirror of
https://github.com/bringout/oca-payroll.git
synced 2026-04-20 01:02:02 +02:00
14 lines
386 B
Python
14 lines
386 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class HrContract(models.Model):
|
|
_inherit = "hr.contract"
|
|
_description = "Employee Contract"
|
|
|
|
analytic_account_id = fields.Many2one(
|
|
"account.analytic.account", "Analytic Account"
|
|
)
|
|
journal_id = fields.Many2one("account.journal", "Salary Journal")
|