proteus 7.4.0__tar.gz → 7.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of proteus might be problematic. Click here for more details.

Files changed (30) hide show
  1. {proteus-7.4.0 → proteus-7.4.1}/CHANGELOG +5 -0
  2. {proteus-7.4.0/proteus.egg-info → proteus-7.4.1}/PKG-INFO +1 -1
  3. {proteus-7.4.0 → proteus-7.4.1}/proteus/__init__.py +5 -1
  4. {proteus-7.4.0 → proteus-7.4.1/proteus.egg-info}/PKG-INFO +1 -1
  5. {proteus-7.4.0 → proteus-7.4.1}/COPYRIGHT +0 -0
  6. {proteus-7.4.0 → proteus-7.4.1}/LICENSE +0 -0
  7. {proteus-7.4.0 → proteus-7.4.1}/MANIFEST.in +0 -0
  8. {proteus-7.4.0 → proteus-7.4.1}/README.rst +0 -0
  9. {proteus-7.4.0 → proteus-7.4.1}/doc/conf.py +0 -0
  10. {proteus-7.4.0 → proteus-7.4.1}/doc/index.rst +0 -0
  11. {proteus-7.4.0 → proteus-7.4.1}/doc/releases.rst +0 -0
  12. {proteus-7.4.0 → proteus-7.4.1}/doc/requirements-doc.txt +0 -0
  13. {proteus-7.4.0 → proteus-7.4.1}/proteus/config.py +0 -0
  14. {proteus-7.4.0 → proteus-7.4.1}/proteus/pyson.py +0 -0
  15. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/__init__.py +0 -0
  16. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/common.py +0 -0
  17. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/test_config.py +0 -0
  18. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/test_context.py +0 -0
  19. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/test_model.py +0 -0
  20. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/test_readme.py +0 -0
  21. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/test_report.py +0 -0
  22. {proteus-7.4.0 → proteus-7.4.1}/proteus/tests/test_wizard.py +0 -0
  23. {proteus-7.4.0 → proteus-7.4.1}/proteus.egg-info/SOURCES.txt +0 -0
  24. {proteus-7.4.0 → proteus-7.4.1}/proteus.egg-info/dependency_links.txt +0 -0
  25. {proteus-7.4.0 → proteus-7.4.1}/proteus.egg-info/requires.txt +0 -0
  26. {proteus-7.4.0 → proteus-7.4.1}/proteus.egg-info/top_level.txt +0 -0
  27. {proteus-7.4.0 → proteus-7.4.1}/proteus.egg-info/zip-safe +0 -0
  28. {proteus-7.4.0 → proteus-7.4.1}/setup.cfg +0 -0
  29. {proteus-7.4.0 → proteus-7.4.1}/setup.py +0 -0
  30. {proteus-7.4.0 → proteus-7.4.1}/tox.ini +0 -0
@@ -1,4 +1,9 @@
1
1
 
2
+ Version 7.4.1 - 2025-01-01
3
+ --------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.4.0 - 2024-11-04
3
8
  --------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: proteus
3
- Version: 7.4.0
3
+ Version: 7.4.1
4
4
  Summary: Library to access Tryton server as a client
5
5
  Home-page: http://www.tryton.org/
6
6
  Download-URL: http://downloads.tryton.org/7.4/
@@ -10,7 +10,7 @@ from decimal import Decimal
10
10
 
11
11
  import proteus.config
12
12
 
13
- __version__ = "7.4.0"
13
+ __version__ = "7.4.1"
14
14
  __all__ = ['Model', 'Wizard', 'Report']
15
15
 
16
16
  _MODELS = threading.local()
@@ -925,6 +925,7 @@ class Model(object):
925
925
  else:
926
926
  record, = records
927
927
  values = record._on_change_args(change)
928
+ values['id'] = record.id
928
929
  changes = getattr(proxy, button)(values, context)
929
930
  record._set_on_change(changes)
930
931
 
@@ -1151,6 +1152,7 @@ class Model(object):
1151
1152
  on_change)
1152
1153
  values.update(self._on_change_args(on_change))
1153
1154
  if values:
1155
+ values['id'] = self.id
1154
1156
  context = self._context
1155
1157
  change = getattr(self._proxy, 'on_change')(values, names, context)
1156
1158
  self._set_on_change(change)
@@ -1171,6 +1173,7 @@ class Model(object):
1171
1173
  to_change.add(field)
1172
1174
  values.update(self._on_change_args(on_change_with + [field]))
1173
1175
  if to_change:
1176
+ values['id'] = self.id
1174
1177
  context = self._context
1175
1178
  changes = getattr(self._proxy, 'on_change_with')(values,
1176
1179
  list(to_change), context)
@@ -1180,6 +1183,7 @@ class Model(object):
1180
1183
  for field in later:
1181
1184
  on_change_with = self._fields[field]['on_change_with']
1182
1185
  values.update(self._on_change_args(on_change_with + [field]))
1186
+ values['id'] = self.id
1183
1187
  context = self._context
1184
1188
  changes = getattr(self._proxy, 'on_change_with')(
1185
1189
  values, list(later), context)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: proteus
3
- Version: 7.4.0
3
+ Version: 7.4.1
4
4
  Summary: Library to access Tryton server as a client
5
5
  Home-page: http://www.tryton.org/
6
6
  Download-URL: http://downloads.tryton.org/7.4/
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes