refactor: remove domain filters and disable check_company on inter-company account fields
This commit is contained in:
parent
6330fd914c
commit
30d319dc69
@ -24,13 +24,12 @@ class AccountJournal(models.Model):
|
||||
parent_intercompany_account_id = fields.Many2one(
|
||||
'account.account',
|
||||
string='Parent Inter-company Account',
|
||||
domain="[('company_ids', 'in', parent_company_id)]",
|
||||
check_company=False,
|
||||
help="The Hubungan RK account in the parent company to debit (Receivable from branch)."
|
||||
)
|
||||
branch_intercompany_account_id = fields.Many2one(
|
||||
'account.account',
|
||||
string='Branch Inter-company Account',
|
||||
domain="[('company_ids', 'in', company_id)]",
|
||||
check_company=False,
|
||||
help="The Hubungan RK account in the branch company to credit (Liability to parent)."
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user