Add notification message

issue11065
review367951004
This commit is contained in:
Cédric Krier committed 2022-04-11 23:41:21 +02:00
1 parent 1f289ba9be
commit 53cf977535
2 files changed
+5

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
* Support notification message
* Use defusedxml to parse XML (11244)
* Add support for Python 3.10
* Remove support for Python 3.6
+4
View File
@@ -1172,6 +1172,10 @@ class Model(object):
self._parent._changed.add(self._parent_field_name)
self._parent._on_change([self._parent_field_name])
def notifications(self):
values = self._get_on_change_values()
return getattr(self._proxy, 'on_change_notify')(values, self._context)
class Wizard(object):
'Wizard class for Tryton wizards'