mirror of
https://github.com/bringout/oca-hr.git
synced 2026-04-23 17:12:08 +02:00
Reorganized 67 HR-related modules for better structure: - Moved all odoo-bringout-oca-hr-* packages from packages/oca-technical/ - Now organized in dedicated packages/oca-hr/ submodule - Includes attendance, expense, holiday, employee, and contract modules - Maintains all module functionality while improving project organization This creates a cleaner separation between general technical modules and HR-specific functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
545 B
Python
19 lines
545 B
Python
# Copyright 2019 Tecnativa - Ernesto Tejeda
|
|
# Copyright 2021 Ecosoft Co., Ltd (http://ecosoft.co.th/)
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountPayment(models.Model):
|
|
_inherit = "account.payment"
|
|
|
|
expense_sheet_ids = fields.Many2many(
|
|
comodel_name="hr.expense.sheet",
|
|
relation="payment_expense_sheet_rel",
|
|
column1="payment_id",
|
|
column2="sheet_id",
|
|
string="Expense sheet",
|
|
readonly=True,
|
|
copy=False,
|
|
)
|