Skip to content

Commit

Permalink
Merge 1870bc2 into 925aa51
Browse files Browse the repository at this point in the history
  • Loading branch information
feketemihai committed Apr 19, 2018
2 parents 925aa51 + 1870bc2 commit b9bf165
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def close(self, date_from=None, date_to=None):
for closing in self:
ctx = self.env.context.copy()
ctx['strict_range'] = True
ctx['state'] = 'posted'
ctx['date_from'] = date_from
ctx['date_to'] = date_to
account_res = self.with_context(ctx)._get_accounts(
Expand Down

0 comments on commit b9bf165

Please sign in to comment.