mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-23 13:02:05 +02:00
14 lines
399 B
Python
14 lines
399 B
Python
# Copyright 2020 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 Department(models.Model):
|
|
_inherit = "hr.department"
|
|
|
|
analytic_account_ids = fields.One2many(
|
|
string="Analytic Accounts",
|
|
comodel_name="account.analytic.account",
|
|
inverse_name="department_id",
|
|
)
|