From d33c3fbe0f95f4a52e90bb370991b9b32f9fe1be Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Fri, 16 May 2008 01:18:55 +0200 Subject: [PATCH] Fix One2Many relation between packing_out and move. --- packing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packing.py b/packing.py index e077718207..9efa345a10 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([