Commit 32431d9e authored by Vincent Pelletier's avatar Vincent Pelletier

Directly use magic persistence properties.

parent a075b56c
...@@ -3249,7 +3249,7 @@ class Base( CopyContainer, ...@@ -3249,7 +3249,7 @@ class Base( CopyContainer,
def serialize(self): def serialize(self):
"""Make the transaction accessing to this object atomic """Make the transaction accessing to this object atomic
""" """
self.id = self.id self._p_changed = 1
# Helpers # Helpers
def getQuantityPrecisionFromResource(self, resource, d=2): def getQuantityPrecisionFromResource(self, resource, d=2):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment