Skip to content

Commit

Permalink
Merge PR OCA#288 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by AaronHForgeFlow
  • Loading branch information
OCA-git-bot committed Mar 24, 2020
2 parents 2fe835d + 99340cf commit 5202c85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stock_analytic/models/stock.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ def _prepare_account_move_line(self, qty, cost,
})
return res

@api.model
def _prepare_merge_moves_distinct_fields(self):
fields = super()._prepare_merge_moves_distinct_fields()
fields.append('analytic_account_id')
return fields


class StockMoveLine(models.Model):
_inherit = "stock.move.line"
Expand Down

0 comments on commit 5202c85

Please sign in to comment.