Skip to content
Snippets Groups Projects
Commit bde7f883 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] stock: fix error introduce during previous forward-port

parent 54e5bbdf
Branches
Tags
No related merge requests found
......@@ -438,7 +438,7 @@ class Quant(models.Model):
if pack_operation_id:
pack_operation = self.env['stock.pack.operation'].browse(pack_operation_id)
domain += [('location_id', '=', pack_operation.location_id.id)]
if pack_operation_id.owner_id:
if pack_operation.owner_id:
domain += [('owner_id', '=', pack_operation.owner_id.id)]
if pack_operation.package_id and not pack_operation.product_id:
domain += [('package_id', 'child_of', pack_operation.package_id.id)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment