Fix wrong definition of Many2One of move_lines

This commit is contained in:
Cédric Krier
2010-03-25 12:53:10 +01:00
parent 751913375f
commit 3add554a59
+1 -1
View File
@@ -39,7 +39,7 @@ class Statement(ModelWorkflow, ModelSQL, ModelView):
('posted', 'Posted'),
], 'State', readonly=True, select=1)
move_lines = fields.Function(fields.One2Many('account.move.line',
'Move Lines'), 'get_move_lines')
None, 'Move Lines'), 'get_move_lines')
def __init__(self):
super(Statement, self).__init__()