Skip to content

Commit

Permalink
[FIX] purchase.request.line doesn't have sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Oct 22, 2019
1 parent 15db187 commit fef5f2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
22 changes: 0 additions & 22 deletions purchase_request_sale/migrations/10.0.1.0.0/post-migration.py

This file was deleted.

1 change: 0 additions & 1 deletion purchase_request_sale/models/stock_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def _prepare_purchase_request_line(self, request_id, product_id,
and sol.product_uom_qty == product_qty:
res['sale_order_line_id'] = sol.id
res['name'] = group.name
res['sequence'] = sol.sequence
# The user who requested the PR will be the same as the SO,
# otherwise the user will be Odoobot because of the pull rule
res['requested_by'] = sol.order_id.user_id.id
Expand Down

0 comments on commit fef5f2f

Please sign in to comment.