Remove default date if not in manual entry

This commit is contained in:
Cédric Krier committed 2008-06-06 11:22:06 +02:00
1 parent dada3d2fa7
commit 90899d642f
1 file changed
+3
+3
View File
@@ -439,6 +439,9 @@ class Line(OSV):
if 'move' not in fields:
#Not manual entry
if 'date' in values:
values = values.copy()
del values['date']
return values
if context.get('journal') and context.get('period'):