diff --git a/statement.py b/statement.py index cc0ad03869..16c6c94bd5 100644 --- a/statement.py +++ b/statement.py @@ -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__()