mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
16 lines
468 B
Python
16 lines
468 B
Python
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountAssetProfile(models.Model):
|
|
_inherit = "account.asset.profile"
|
|
|
|
transfer_journal_id = fields.Many2one(
|
|
comodel_name="account.journal",
|
|
domain="[('type', '=', 'general'), ('company_id', '=', company_id)]",
|
|
string="Transfer Journal",
|
|
check_company=True,
|
|
)
|