From d58b40af49931771bbfe06afc1f131cc8d0af722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 14 May 2008 15:24:13 +0200 Subject: [PATCH] Fix wrong field on packing out --- packing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packing.py b/packing.py index 0cbc17af5f..826c07535d 100644 --- a/packing.py +++ b/packing.py @@ -250,7 +250,7 @@ class PackingOut(OSV): 'readonly':"state in ('ready', 'done')", }, context="{'warehouse': warehouse, "\ "'packing_state': state, 'type':'inventory_out',}") - moves = fields.One2Many('stock.move', 'packing_in', 'Moves', + moves = fields.One2Many('stock.move', 'packing_out', 'Moves', readonly=True) code = fields.Char("Code", size=None, select=1, readonly=True) state = fields.Selection([