Strange behaviour for deposit

Hi ,

I am trying to send the balance report to customer which include the field “Deposit” which come from model Party.

When I am sending by clicking button using client, the deposit show the amount.
But if sending using task worker, the result will be always 0.

There is context include
{ ‘from_date’: today,
‘to_date’: today,
‘company’: 1

The from_date and to_date limit the computation to only move in this range via the Move.query_get method.

Hi Ced,

So if I want to get all deposit, so any context I will need to set?

Just the company key.