Fix wrong definition of Many2One of move_lines
This commit is contained in:
+1
-1
@@ -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__()
|
||||
|
||||
Reference in New Issue
Block a user