I do not think the problem is the usage of dictionary but the __hash__ method which returns the same hash for unsaved instances. I think in such case (id is None) we could use the id of the instance.
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-04-19 15:14:13 | ced | set | messageid: <1587302053.4.0.550689944888.issue9240@tryton.org> |
2020-04-19 15:14:13 | ced | set | recipients: + yangoon, albertca, pokoli, reviewbot |
2020-04-19 15:14:13 | ced | link | issue9240 messages |
2020-04-19 15:14:12 | ced | create |
Showing 10 items. Show all history (warning: this could be VERY long)