vendor_batch_payment_merge/models/res_company.py

22 lines
706 B
Python

# -*- coding: utf-8 -*-
from odoo import fields, models
class ResCompany(models.Model):
_inherit = "res.company"
intercompany_receivable_account_id = fields.Many2one(
'account.account',
string="Intercompany Receivable Account",
check_company=True,
domain="[('company_id', '=', id)]",
help="Account used for recording intercompany receivables from branches."
)
intercompany_payable_account_id = fields.Many2one(
'account.account',
string="Intercompany Payable Account",
check_company=True,
domain="[('company_id', '=', id)]",
help="Account used for recording intercompany payables to the head office."
)