From 865cbe542333cd477db2193beb150cb854a0cf8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 19 Sep 2008 14:15:50 +0200 Subject: [PATCH] Set the date for the move created from a line --- move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/move.py b/move.py index 4dfb62f0bf..98690af612 100644 --- a/move.py +++ b/move.py @@ -1029,6 +1029,7 @@ class Line(OSV): vals['move'] = move_obj.create(cursor, user, { 'period': vals.get('period', context.get('period')), 'journal': vals.get('journal', context.get('journal')), + 'date': vals.get('date', False), }, context=context) res = super(Line, self).create(cursor, user, vals, context=context) line = self.browse(cursor, user, res, context=context)