From 3add554a5965f26d50268fe0dfd488ca17a27bee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 25 Mar 2010 12:53:10 +0100 Subject: [PATCH] Fix wrong definition of Many2One of move_lines --- statement.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__()