From 950a99ceabcb5128f6f148398ed45073154339ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 29 Jan 2009 01:05:36 +0100 Subject: [PATCH] customer_location is on customer and not on party --- packing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packing.py b/packing.py index 5fb11cd3e2..abff35b302 100644 --- a/packing.py +++ b/packing.py @@ -692,7 +692,7 @@ class PackingOut(OSV): move.uom, context=context) move_obj.create(cursor, user, { 'from_location': move.to_location.id, - 'to_location': packing.party.customer_location.id, + 'to_location': packing.customer.customer_location.id, 'product': move.product.id, 'uom': move.uom.id, 'quantity': out_quantity,