Initial commit

This commit is contained in:
gsinghpal
2026-02-22 01:22:18 -05:00
commit 5200d5baf0
2394 changed files with 386834 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
from odoo import models, fields, api
class HrContract(models.Model):
_inherit = 'hr.contract'
# === Work Location ===
work_location_id = fields.Many2one(
'payroll.work.location',
string='Primary Work Location',
help='Primary work location for this contract (used for tax calculations)',
domain="[('company_id', '=', company_id), ('status', '=', 'active')]",
)
# === Canadian Tax Credits ===
fed_tax_credit = fields.Float(
string='Federal Tax Credit',
help='Federal personal tax credit amount for the employee',
)
provincial_tax_credit = fields.Float(
string='Provincial Tax Credit',
help='Provincial personal tax credit amount for the employee',
)