Skip to content

Commit

Permalink
Merge PR #836 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by HviorForgeFlow
  • Loading branch information
OCA-git-bot committed Jan 8, 2020
2 parents b66bf46 + 874ef8d commit 31cd72a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions purchase_request/models/stock_move.py
Expand Up @@ -66,8 +66,8 @@ def _action_cancel(self):
@api.depends('purchase_request_allocation_ids')
def _compute_purchase_request_ids(self):
for rec in self:
rec.purchase_request_ids = rec.\
purchase_request_allocation_ids.mapped('purchase_request_id')
rec.purchase_request_ids = rec.purchase_request_allocation_ids.\
mapped('purchase_request_line_id.request_id')

def _merge_moves_fields(self):
res = super(StockMove, self)._merge_moves_fields()
Expand Down

0 comments on commit 31cd72a

Please sign in to comment.