Skip to content

Commit

Permalink
[IMP] stock_picking_show_return: black, isort, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
hugho-ad committed Aug 17, 2021
1 parent 59447f4 commit a5fd417
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stock_picking_show_return/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Show returns on stock pickings",
"version": "13.0.1.0.0",
"version": "14.0.1.0.0",
"author": "Tecnativa, " "Odoo Community Association (OCA)",
"category": "Warehouse Management",
"website": "https://github.com/OCA/stock-logistics-workflow",
Expand Down
3 changes: 1 addition & 2 deletions stock_picking_show_return/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def _compute_returned_ids(self):

@api.depends("move_lines.origin_returned_move_id")
def _compute_source_picking_id(self):
"""Get source piking from this picking. Only one origin is possible.
"""
"""Get source piking from this picking. Only one origin is possible."""
for picking in self:
picking.source_picking_id = first(
picking.mapped("move_lines.origin_returned_move_id.picking_id")
Expand Down

0 comments on commit a5fd417

Please sign in to comment.