Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][FW] payroll_account: ported 121, 123 #160

Open
wants to merge 4 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions payroll_account/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from . import hr_contract
from . import hr_payslip_line
from . import hr_payslip_run
from . import hr_payslip
from . import hr_salary_rule
14 changes: 14 additions & 0 deletions payroll_account/models/hr_contract.py
Original file line number Diff line number Diff line change
@@ -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):
_inherit = "hr.contract"
_description = "Employee Contract"

analytic_account_id = fields.Many2one(
"account.analytic.account", "Analytic Account"
)
journal_id = fields.Many2one("account.journal", "Salary Journal")
Loading
Loading