The balance, credit and debit of account is 0 with context company is not the account company
This is because the Move.query_get
relies on the company in the context.
So we should set the company of the account, for which the balance, credit or debit is computed, in the context before calling Move.query_get
.