changeset 10aba49a5a52 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=10aba49a5a52
description:
Backed out changeset f08b9ce07a7b
diffstat:
trytond/model/modelsql.py | 2 --
trytond/tests/test_modelsql.py | 4 ----
2 files changed, 0 insertions(+), 6 deletions(-)
diffs (26 lines):
diff -r f08b9ce07a7b -r 10aba49a5a52 trytond/model/modelsql.py
--- a/trytond/model/modelsql.py Mon Nov 04 16:01:28 2019 +0100
+++ b/trytond/model/modelsql.py Mon Nov 04 16:05:28 2019 +0100
@@ -539,8 +539,6 @@
'%s,%s' % (cls.__name__, id_))
except KeyError:
continue
- if timestamp is None:
- continue
sql_type = fields.Char('timestamp').sql_type().base
where.append((table.id == id_)
& (Extract('EPOCH',
diff -r f08b9ce07a7b -r 10aba49a5a52 trytond/tests/test_modelsql.py
--- a/trytond/tests/test_modelsql.py Mon Nov 04 16:01:28 2019 +0100
+++ b/trytond/tests/test_modelsql.py Mon Nov 04 16:05:28 2019 +0100
@@ -305,10 +305,6 @@
self.assertRaises(ConcurrencyException,
ModelsqlTimestamp.delete, [record])
- transaction.timestamp[str(record)] = None
- ModelsqlTimestamp.write([record], {})
- transaction.commit()
-
transaction.timestamp.pop(str(record), None)
ModelsqlTimestamp.write([record], {})
transaction.commit()