Fix One2Many relation between packing_out and move.

This commit is contained in:
Bertrand Chenal committed 2008-05-16 01:18:55 +02:00
1 parent 7be6716969
commit d33c3fbe0f
1 file changed
+1 -1
+1 -1
View File
@@ -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([