tryton 7.0.7__tar.gz → 7.4.4__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 tryton might be problematic. Click here for more details.

Files changed (312) hide show
  1. {tryton-7.0.7 → tryton-7.4.4}/CHANGELOG +22 -15
  2. {tryton-7.0.7 → tryton-7.4.4}/COPYRIGHT +3 -3
  3. {tryton-7.0.7 → tryton-7.4.4}/PKG-INFO +3 -3
  4. {tryton-7.0.7 → tryton-7.4.4}/bin/tryton +8 -7
  5. {tryton-7.0.7 → tryton-7.4.4}/doc/conf.py +2 -3
  6. {tryton-7.0.7 → tryton-7.4.4}/doc/usage.rst +9 -8
  7. tryton-7.4.4/make-darwin-installer.sh +27 -0
  8. {tryton-7.0.7 → tryton-7.4.4}/make-win32-installer.sh +3 -0
  9. {tryton-7.0.7 → tryton-7.4.4}/setup-freeze.py +10 -12
  10. {tryton-7.0.7 → tryton-7.4.4}/setup.py +1 -1
  11. {tryton-7.0.7 → tryton-7.4.4}/tryton/__init__.py +1 -1
  12. tryton-7.4.4/tryton/cache.py +34 -0
  13. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/common.py +149 -73
  14. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/completion.py +2 -2
  15. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/datetime_.py +3 -1
  16. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/domain_inversion.py +2 -1
  17. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/domain_parser.py +22 -11
  18. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/popup_menu.py +1 -1
  19. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/selection.py +6 -3
  20. tryton-7.4.4/tryton/common/tempfile.py +34 -0
  21. {tryton-7.0.7 → tryton-7.4.4}/tryton/config.py +4 -5
  22. tryton-7.4.4/tryton/data/locale/bg/LC_MESSAGES/tryton.mo +0 -0
  23. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/bg/LC_MESSAGES/tryton.po +69 -20
  24. tryton-7.4.4/tryton/data/locale/ca/LC_MESSAGES/tryton.mo +0 -0
  25. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/ca/LC_MESSAGES/tryton.po +70 -25
  26. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/cs/LC_MESSAGES/tryton.mo +0 -0
  27. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/cs/LC_MESSAGES/tryton.po +68 -21
  28. tryton-7.4.4/tryton/data/locale/de/LC_MESSAGES/tryton.mo +0 -0
  29. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/de/LC_MESSAGES/tryton.po +71 -26
  30. tryton-7.4.4/tryton/data/locale/es/LC_MESSAGES/tryton.mo +0 -0
  31. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/es/LC_MESSAGES/tryton.po +68 -23
  32. tryton-7.4.4/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo +0 -0
  33. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/es_419/LC_MESSAGES/tryton.po +72 -22
  34. tryton-7.4.4/tryton/data/locale/et/LC_MESSAGES/tryton.mo +0 -0
  35. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/et/LC_MESSAGES/tryton.po +73 -23
  36. tryton-7.4.4/tryton/data/locale/fa/LC_MESSAGES/tryton.mo +0 -0
  37. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/fa/LC_MESSAGES/tryton.po +74 -25
  38. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/fi/LC_MESSAGES/tryton.mo +0 -0
  39. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/fi/LC_MESSAGES/tryton.po +63 -20
  40. tryton-7.4.4/tryton/data/locale/fr/LC_MESSAGES/tryton.mo +0 -0
  41. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/fr/LC_MESSAGES/tryton.po +73 -28
  42. tryton-7.4.4/tryton/data/locale/hu/LC_MESSAGES/tryton.mo +0 -0
  43. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/hu/LC_MESSAGES/tryton.po +75 -23
  44. tryton-7.4.4/tryton/data/locale/id/LC_MESSAGES/tryton.mo +0 -0
  45. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/id/LC_MESSAGES/tryton.po +72 -23
  46. tryton-7.4.4/tryton/data/locale/it/LC_MESSAGES/tryton.mo +0 -0
  47. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/it/LC_MESSAGES/tryton.po +73 -24
  48. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo +0 -0
  49. tryton-7.4.4/tryton/data/locale/lo/LC_MESSAGES/tryton.mo +0 -0
  50. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/lo/LC_MESSAGES/tryton.po +74 -25
  51. tryton-7.4.4/tryton/data/locale/lt/LC_MESSAGES/tryton.mo +0 -0
  52. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/lt/LC_MESSAGES/tryton.po +73 -23
  53. tryton-7.4.4/tryton/data/locale/nl/LC_MESSAGES/tryton.mo +0 -0
  54. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/nl/LC_MESSAGES/tryton.po +72 -27
  55. tryton-7.4.4/tryton/data/locale/pl/LC_MESSAGES/tryton.mo +0 -0
  56. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/pl/LC_MESSAGES/tryton.po +113 -78
  57. tryton-7.4.4/tryton/data/locale/pt/LC_MESSAGES/tryton.mo +0 -0
  58. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/pt/LC_MESSAGES/tryton.po +73 -24
  59. tryton-7.4.4/tryton/data/locale/ro/LC_MESSAGES/tryton.mo +0 -0
  60. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/ro/LC_MESSAGES/tryton.po +87 -36
  61. tryton-7.4.4/tryton/data/locale/ru/LC_MESSAGES/tryton.mo +0 -0
  62. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/ru/LC_MESSAGES/tryton.po +72 -25
  63. tryton-7.4.4/tryton/data/locale/sl/LC_MESSAGES/tryton.mo +0 -0
  64. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/sl/LC_MESSAGES/tryton.po +77 -26
  65. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/tr/LC_MESSAGES/tryton.mo +0 -0
  66. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/tr/LC_MESSAGES/tryton.po +64 -20
  67. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/tryton.pot +63 -20
  68. tryton-7.4.4/tryton/data/locale/uk/LC_MESSAGES/tryton.mo +0 -0
  69. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/uk/LC_MESSAGES/tryton.po +75 -23
  70. tryton-7.4.4/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo +0 -0
  71. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po +76 -24
  72. {tryton-7.0.7 → tryton-7.4.4}/tryton/device_cookie.py +1 -1
  73. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/main.py +14 -12
  74. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/about.py +1 -1
  75. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/dblogin.py +2 -2
  76. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/email_.py +2 -2
  77. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/form.py +10 -5
  78. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/log.py +24 -2
  79. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/tabcontent.py +2 -2
  80. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/model/field.py +84 -34
  81. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/model/group.py +7 -2
  82. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/model/record.py +70 -31
  83. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/screen/screen.py +98 -47
  84. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/calendar_gtk/calendar_.py +15 -9
  85. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form.py +6 -12
  86. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/char.py +5 -6
  87. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/dictionary.py +49 -29
  88. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/document.py +15 -10
  89. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/many2many.py +49 -7
  90. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/many2one.py +21 -13
  91. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/multiselection.py +15 -5
  92. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/one2many.py +42 -10
  93. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/state_widget.py +6 -2
  94. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/url.py +8 -4
  95. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/graph_gtk/graph.py +3 -1
  96. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/list.py +116 -48
  97. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/list_gtk/editabletree.py +2 -1
  98. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/list_gtk/widget.py +58 -23
  99. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/screen_container.py +3 -5
  100. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/win_csv.py +6 -12
  101. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/win_export.py +49 -26
  102. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/win_form.py +9 -7
  103. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/win_import.py +45 -15
  104. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/wizard.py +13 -10
  105. {tryton-7.0.7 → tryton-7.4.4}/tryton/jsonrpc.py +75 -34
  106. {tryton-7.0.7 → tryton-7.4.4}/tryton/plugins/__init__.py +5 -3
  107. {tryton-7.0.7 → tryton-7.4.4}/tryton/pyson.py +57 -6
  108. {tryton-7.0.7 → tryton-7.4.4}/tryton/rpc.py +18 -0
  109. {tryton-7.0.7 → tryton-7.4.4}/tryton/tests/test_common_domain_parser.py +31 -2
  110. {tryton-7.0.7 → tryton-7.4.4}/tryton/translate.py +5 -2
  111. {tryton-7.0.7 → tryton-7.4.4}/tryton.egg-info/PKG-INFO +3 -3
  112. {tryton-7.0.7 → tryton-7.4.4}/tryton.egg-info/SOURCES.txt +3 -6
  113. tryton-7.0.7/.readthedocs.yaml +0 -10
  114. tryton-7.0.7/darwin/gtk-3.0/gdk-pixbuf.loaders +0 -107
  115. tryton-7.0.7/darwin/gtk-3.0/gtk.immodules +0 -40
  116. tryton-7.0.7/make-darwin-installer.sh +0 -15
  117. tryton-7.0.7/tryton/data/locale/bg/LC_MESSAGES/tryton.mo +0 -0
  118. tryton-7.0.7/tryton/data/locale/ca/LC_MESSAGES/tryton.mo +0 -0
  119. tryton-7.0.7/tryton/data/locale/de/LC_MESSAGES/tryton.mo +0 -0
  120. tryton-7.0.7/tryton/data/locale/es/LC_MESSAGES/tryton.mo +0 -0
  121. tryton-7.0.7/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo +0 -0
  122. tryton-7.0.7/tryton/data/locale/et/LC_MESSAGES/tryton.mo +0 -0
  123. tryton-7.0.7/tryton/data/locale/fa/LC_MESSAGES/tryton.mo +0 -0
  124. tryton-7.0.7/tryton/data/locale/fr/LC_MESSAGES/tryton.mo +0 -0
  125. tryton-7.0.7/tryton/data/locale/hu/LC_MESSAGES/tryton.mo +0 -0
  126. tryton-7.0.7/tryton/data/locale/id/LC_MESSAGES/tryton.mo +0 -0
  127. tryton-7.0.7/tryton/data/locale/it/LC_MESSAGES/tryton.mo +0 -0
  128. tryton-7.0.7/tryton/data/locale/lo/LC_MESSAGES/tryton.mo +0 -0
  129. tryton-7.0.7/tryton/data/locale/lt/LC_MESSAGES/tryton.mo +0 -0
  130. tryton-7.0.7/tryton/data/locale/nl/LC_MESSAGES/tryton.mo +0 -0
  131. tryton-7.0.7/tryton/data/locale/pl/LC_MESSAGES/tryton.mo +0 -0
  132. tryton-7.0.7/tryton/data/locale/pt/LC_MESSAGES/tryton.mo +0 -0
  133. tryton-7.0.7/tryton/data/locale/ro/LC_MESSAGES/tryton.mo +0 -0
  134. tryton-7.0.7/tryton/data/locale/ru/LC_MESSAGES/tryton.mo +0 -0
  135. tryton-7.0.7/tryton/data/locale/sl/LC_MESSAGES/tryton.mo +0 -0
  136. tryton-7.0.7/tryton/data/locale/uk/LC_MESSAGES/tryton.mo +0 -0
  137. tryton-7.0.7/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo +0 -0
  138. tryton-7.0.7/win32/gtk-3.0/gdk-pixbuf.loaders +0 -114
  139. tryton-7.0.7/win32/gtk-3.0/gtk.immodules +0 -0
  140. {tryton-7.0.7 → tryton-7.4.4}/LICENSE +0 -0
  141. {tryton-7.0.7 → tryton-7.4.4}/MANIFEST.in +0 -0
  142. {tryton-7.0.7 → tryton-7.4.4}/README.rst +0 -0
  143. {tryton-7.0.7 → tryton-7.4.4}/catalan.nsh +0 -0
  144. {tryton-7.0.7 → tryton-7.4.4}/doc/glossary.rst +0 -0
  145. {tryton-7.0.7 → tryton-7.4.4}/doc/index.rst +0 -0
  146. {tryton-7.0.7 → tryton-7.4.4}/doc/installation.rst +0 -0
  147. {tryton-7.0.7 → tryton-7.4.4}/doc/releases.rst +0 -0
  148. {tryton-7.0.7 → tryton-7.4.4}/doc/requirements-doc.txt +0 -0
  149. {tryton-7.0.7 → tryton-7.4.4}/english.nsh +0 -0
  150. {tryton-7.0.7 → tryton-7.4.4}/farsi.nsh +0 -0
  151. {tryton-7.0.7 → tryton-7.4.4}/french.nsh +0 -0
  152. {tryton-7.0.7 → tryton-7.4.4}/german.nsh +0 -0
  153. {tryton-7.0.7 → tryton-7.4.4}/portuguese.nsh +0 -0
  154. {tryton-7.0.7 → tryton-7.4.4}/setup.cfg +0 -0
  155. {tryton-7.0.7 → tryton-7.4.4}/setup.nsi +0 -0
  156. {tryton-7.0.7 → tryton-7.4.4}/slovenian.nsh +0 -0
  157. {tryton-7.0.7 → tryton-7.4.4}/spanish.nsh +0 -0
  158. {tryton-7.0.7 → tryton-7.4.4}/tox.ini +0 -0
  159. {tryton-7.0.7 → tryton-7.4.4}/tryton/action/__init__.py +0 -0
  160. {tryton-7.0.7 → tryton-7.4.4}/tryton/action/main.py +0 -0
  161. {tryton-7.0.7 → tryton-7.4.4}/tryton/bus.py +0 -0
  162. {tryton-7.0.7 → tryton-7.4.4}/tryton/client.py +0 -0
  163. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/__init__.py +0 -0
  164. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/button.py +0 -0
  165. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrendererbinary.py +0 -0
  166. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrendererbutton.py +0 -0
  167. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrendererclickablepixbuf.py +0 -0
  168. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrenderercombo.py +0 -0
  169. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrendererfloat.py +0 -0
  170. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrendererinteger.py +0 -0
  171. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrenderertext.py +0 -0
  172. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/cellrenderertoggle.py +0 -0
  173. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/entry_position.py +0 -0
  174. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/environment.py +0 -0
  175. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/focus.py +0 -0
  176. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/htmltextbuffer.py +0 -0
  177. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/number_entry.py +0 -0
  178. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/richtext.py +0 -0
  179. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/timedelta.py +0 -0
  180. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/underline.py +0 -0
  181. {tryton-7.0.7 → tryton-7.4.4}/tryton/common/widget_style.py +0 -0
  182. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.po +0 -0
  183. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/LICENSE +0 -0
  184. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-add.svg +0 -0
  185. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-archive.svg +0 -0
  186. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-arrow-down.svg +0 -0
  187. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-arrow-left.svg +0 -0
  188. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-arrow-right.svg +0 -0
  189. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-arrow-up.svg +0 -0
  190. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-attach.svg +0 -0
  191. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-back.svg +0 -0
  192. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-barcode-scanner.svg +0 -0
  193. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-bookmark-border.svg +0 -0
  194. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-bookmark.svg +0 -0
  195. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-bookmarks.svg +0 -0
  196. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-cancel.svg +0 -0
  197. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-clear.svg +0 -0
  198. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-close.svg +0 -0
  199. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-copy.svg +0 -0
  200. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-create.svg +0 -0
  201. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-date.svg +0 -0
  202. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-delete.svg +0 -0
  203. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-download.svg +0 -0
  204. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-drag.svg +0 -0
  205. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-email.svg +0 -0
  206. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-error.svg +0 -0
  207. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-exit.svg +0 -0
  208. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-export.svg +0 -0
  209. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-filter.svg +0 -0
  210. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-align-center.svg +0 -0
  211. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-align-justify.svg +0 -0
  212. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-align-left.svg +0 -0
  213. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-align-right.svg +0 -0
  214. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-bold.svg +0 -0
  215. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-color-text.svg +0 -0
  216. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-italic.svg +0 -0
  217. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-format-underline.svg +0 -0
  218. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-forward.svg +0 -0
  219. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-history.svg +0 -0
  220. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-icon.png +0 -0
  221. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-icon.svg +0 -0
  222. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-import.svg +0 -0
  223. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-info.svg +0 -0
  224. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-launch.svg +0 -0
  225. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-link.svg +0 -0
  226. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-log.svg +0 -0
  227. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-menu.svg +0 -0
  228. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-note.svg +0 -0
  229. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-ok.svg +0 -0
  230. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-open.svg +0 -0
  231. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-print.svg +0 -0
  232. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-public.svg +0 -0
  233. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-question.svg +0 -0
  234. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-refresh.svg +0 -0
  235. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-remove.svg +0 -0
  236. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-save.svg +0 -0
  237. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-search.svg +0 -0
  238. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-send.svg +0 -0
  239. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-sound-off.svg +0 -0
  240. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-sound-on.svg +0 -0
  241. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-star-border.svg +0 -0
  242. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-star.svg +0 -0
  243. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-switch.svg +0 -0
  244. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-translate.svg +0 -0
  245. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-unarchive.svg +0 -0
  246. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-undo.svg +0 -0
  247. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton-warning.svg +0 -0
  248. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton.icns +0 -0
  249. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton.ico +0 -0
  250. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/pixmaps/tryton/tryton.svg +0 -0
  251. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/sounds/LICENSE +0 -0
  252. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/sounds/danger.wav +0 -0
  253. {tryton-7.0.7 → tryton-7.4.4}/tryton/data/sounds/success.wav +0 -0
  254. {tryton-7.0.7 → tryton-7.4.4}/tryton/exceptions.py +0 -0
  255. {tryton-7.0.7 → tryton-7.4.4}/tryton/fingerprints.py +0 -0
  256. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/__init__.py +0 -0
  257. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/__init__.py +0 -0
  258. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/attachment.py +0 -0
  259. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/board.py +0 -0
  260. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/code_scanner.py +0 -0
  261. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/infobar.py +0 -0
  262. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/limit.py +0 -0
  263. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/nomodal.py +0 -0
  264. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/note.py +0 -0
  265. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/preference.py +0 -0
  266. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/revision.py +0 -0
  267. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_board/__init__.py +0 -0
  268. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_board/action.py +0 -0
  269. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_board/view_board.py +0 -0
  270. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/__init__.py +0 -0
  271. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/model/__init__.py +0 -0
  272. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/screen/__init__.py +0 -0
  273. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/__init__.py +0 -0
  274. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/calendar_.py +0 -0
  275. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/calendar_gtk/__init__.py +0 -0
  276. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/calendar_gtk/dates_period.py +0 -0
  277. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/calendar_gtk/toolbar.py +0 -0
  278. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/__init__.py +0 -0
  279. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/binary.py +0 -0
  280. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/calendar_.py +0 -0
  281. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/checkbox.py +0 -0
  282. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/float.py +0 -0
  283. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/image.py +0 -0
  284. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/integer.py +0 -0
  285. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/one2one.py +0 -0
  286. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/progressbar.py +0 -0
  287. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/pyson.py +0 -0
  288. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/reference.py +0 -0
  289. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/richtextbox.py +0 -0
  290. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/selection.py +0 -0
  291. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/textbox.py +0 -0
  292. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/timedelta.py +0 -0
  293. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/form_gtk/widget.py +0 -0
  294. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/graph.py +0 -0
  295. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/graph_gtk/__init__.py +0 -0
  296. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/graph_gtk/bar.py +0 -0
  297. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/graph_gtk/line.py +0 -0
  298. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/graph_gtk/pie.py +0 -0
  299. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/list_form.py +0 -0
  300. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/view_form/view/list_gtk/__init__.py +0 -0
  301. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/win_search.py +0 -0
  302. {tryton-7.0.7 → tryton-7.4.4}/tryton/gui/window/window.py +0 -0
  303. {tryton-7.0.7 → tryton-7.4.4}/tryton/plugins/translation/__init__.py +0 -0
  304. {tryton-7.0.7 → tryton-7.4.4}/tryton/tests/__init__.py +0 -0
  305. {tryton-7.0.7 → tryton-7.4.4}/tryton/tests/test_common.py +0 -0
  306. {tryton-7.0.7 → tryton-7.4.4}/tryton/tests/test_common_selection.py +0 -0
  307. {tryton-7.0.7 → tryton-7.4.4}/tryton/tests/test_common_timedelta.py +0 -0
  308. {tryton-7.0.7 → tryton-7.4.4}/tryton.desktop +0 -0
  309. {tryton-7.0.7 → tryton-7.4.4}/tryton.egg-info/dependency_links.txt +0 -0
  310. {tryton-7.0.7 → tryton-7.4.4}/tryton.egg-info/not-zip-safe +0 -0
  311. {tryton-7.0.7 → tryton-7.4.4}/tryton.egg-info/requires.txt +0 -0
  312. {tryton-7.0.7 → tryton-7.4.4}/tryton.egg-info/top_level.txt +0 -0
@@ -1,38 +1,45 @@
1
1
 
2
- Version 7.0.7 - 2024-03-03
2
+ Version 7.4.4 - 2025-01-16
3
3
  --------------------------
4
4
  * Bug fixes (see mercurial logs for details)
5
5
 
6
6
 
7
- Version 7.0.6 - 2024-02-15
7
+ Version 7.4.3 - 2025-01-01
8
8
  --------------------------
9
9
  * Bug fixes (see mercurial logs for details)
10
10
 
11
11
 
12
- Version 7.0.5 - 2024-01-15
12
+ Version 7.4.2 - 2024-12-16
13
13
  --------------------------
14
14
  * Bug fixes (see mercurial logs for details)
15
15
 
16
16
 
17
- Version 7.0.4 - 2024-01-01
17
+ Version 7.4.1 - 2024-12-01
18
18
  --------------------------
19
19
  * Bug fixes (see mercurial logs for details)
20
20
 
21
21
 
22
- Version 7.0.3 - 2023-12-16
22
+ Version 7.4.0 - 2024-11-04
23
23
  --------------------------
24
24
  * Bug fixes (see mercurial logs for details)
25
+ * Add restore button on Many2Many
26
+ * Keep CSV export window opened
27
+ * Remove favorite management
28
+ * Retry JSON-RPC requests on Service Unavailable
29
+ * Set focus on search entry after search
30
+ * Support language suffix in CSV export
31
+ * Close tab with mouse middle click
32
+ * Support language suffix in CSV import
25
33
 
26
-
27
- Version 7.0.2 - 2023-11-17
28
- --------------------------
29
- * Bug fixes (see mercurial logs for details)
30
-
31
-
32
- Version 7.0.1 - 2023-11-03
34
+ Version 7.2.0 - 2024-04-29
33
35
  --------------------------
34
36
  * Bug fixes (see mercurial logs for details)
35
-
37
+ * Read xxx2Many fields using the dotted notation
38
+ * Display XML ID on Log window
39
+ * Use operators when converting PYSON to string
40
+ * Add contextual menu to copy cell and column
41
+ * Allow resetting forgotten password
42
+ * Clean temporary files and directories at exit
36
43
 
37
44
  Version 7.0.0 - 2023-10-30
38
45
  --------------------------
@@ -127,8 +134,8 @@ Version 5.8.0 - 2020-11-02
127
134
  * Manage symbol widget
128
135
  * Fallback to model name as title
129
136
  * Manage deletable and writable state
130
- * Support e-mail template
131
- * Send e-mail via the server
137
+ * Support email template
138
+ * Send email via the server
132
139
  * Support PYSON comparison of date and datetime
133
140
  * Position copied records based on order
134
141
  * Allow configuration of default colors for graph and calendar
@@ -1,11 +1,11 @@
1
1
  Copyright (C) 2004-2008 Tiny SPRL.
2
2
  Copyright (C) 2007-2009 Lorenzo Gil Sanchez.
3
3
  Copyright (C) 2007-2013 Bertrand Chenal.
4
- Copyright (C) 2007-2024 Cédric Krier.
4
+ Copyright (C) 2007-2025 Cédric Krier.
5
5
  Copyright (C) 2008-2011 Udo Spallek.
6
6
  Copyright (C) 2008-2011 virtual things - Preisler & Spallek GbR.
7
- Copyright (C) 2008-2024 B2CK SPRL.
8
- Copyright (C) 2010-2023 Nicolas Évrard.
7
+ Copyright (C) 2008-2025 B2CK SPRL.
8
+ Copyright (C) 2010-2024 Nicolas Évrard.
9
9
  Copyright (C) 2011-2012 Rodrigo Hübner.
10
10
  Copyright (C) 2012-2013 Antoine Smolders.
11
11
  Copyright (C) 2020-2021 Maxime Richez
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tryton
3
- Version: 7.0.7
3
+ Version: 7.4.4
4
4
  Summary: Tryton desktop client
5
5
  Home-page: http://www.tryton.org/
6
- Download-URL: http://downloads.tryton.org/7.0/
6
+ Download-URL: http://downloads.tryton.org/7.4/
7
7
  Author: Tryton
8
8
  Author-email: foundation@tryton.org
9
9
  License: GPL-3
10
10
  Project-URL: Bug Tracker, https://bugs.tryton.org/
11
- Project-URL: Documentation, https://docs.tryton.org/
11
+ Project-URL: Documentation, https://docs.tryton.org/latest/client-desktop/
12
12
  Project-URL: Forum, https://www.tryton.org/forum
13
13
  Project-URL: Source Code, https://code.tryton.org/tryton
14
14
  Keywords: business application ERP
@@ -12,21 +12,22 @@ except NameError:
12
12
 
13
13
  if hasattr(sys, 'frozen'):
14
14
  prefix = os.path.dirname(sys.executable)
15
+ share = os.path.join(prefix, 'share')
15
16
  os.environ['GTK_EXE_PREFIX'] = prefix
16
17
  os.environ['GTK_DATA_PREFIX'] = prefix
17
- os.environ['EV_BACKENDS_DIR'] = prefix
18
- os.environ['XDG_DATA_DIRS'] = os.path.join(prefix, 'share')
19
- etc = os.path.join(prefix, 'etc')
18
+ os.environ['EV_BACKENDS_DIR'] = os.path.join(
19
+ prefix, 'lib', 'evince', '4', 'backends')
20
+ os.environ['XDG_DATA_DIRS'] = share
20
21
  os.environ['GDK_PIXBUF_MODULE_FILE'] = os.path.join(
21
- etc, 'gtk-3.0', 'gdk-pixbuf.loaders')
22
+ share, 'gtk-3.0', 'gdk-pixbuf.loaders')
22
23
  os.environ['GTK_IM_MODULE_FILE'] = os.path.join(
23
- etc, 'gtk-3.0', 'gtk.immodules')
24
+ share, 'gtk-3.0', 'gtk.immodules')
24
25
  os.environ['GI_TYPELIB_PATH'] = os.path.join(
25
26
  prefix, 'lib', 'girepository-1.0')
26
27
  os.environ.setdefault('SSL_CERT_FILE',
27
- os.path.join(etc, 'ssl', 'cert.pem'))
28
+ os.path.join(share, 'ssl', 'cert.pem'))
28
29
  os.environ.setdefault('SSL_CERT_DIR',
29
- os.path.join(etc, 'ssl', 'certs'))
30
+ os.path.join(share, 'ssl', 'certs'))
30
31
 
31
32
  if sys.platform == 'win32':
32
33
  # cx_freeze >= 5 put python modules under lib directory
@@ -8,9 +8,8 @@ if base_url:
8
8
  modules_url = base_url + '/modules-{module}/'
9
9
  trytond_url = base_url + '/server/'
10
10
  else:
11
- modules_url = (
12
- 'https://docs.tryton.org/projects/modules-{module}/en/{series}/')
13
- trytond_url = 'https://docs.tryton.org/projects/server/en/{series}/'
11
+ modules_url = 'https://docs.tryton.org/${series}/modules-{module}/'
12
+ trytond_url = 'https://docs.tryton.org/${series}/server/'
14
13
 
15
14
 
16
15
  def get_info():
@@ -323,7 +323,7 @@ Report...:
323
323
 
324
324
  .. _Toolbar-Email:
325
325
 
326
- E-Mail...:
326
+ Email...:
327
327
  Open an editor to send an email related to the actual record.
328
328
 
329
329
  .. _Toolbar-Print:
@@ -446,8 +446,8 @@ A query is composed of search clauses.
446
446
  A clause is composed of a field name (with ``:`` at the end), an operator and a
447
447
  value.
448
448
  The field name is optional and defaults to the record name.
449
- The operator is also optional and defaults to ``like`` or ``equal`` depending
450
- on the type of the field.
449
+ The operator is also optional and defaults to ``ilike`` or ``=`` depending on
450
+ the type of the field.
451
451
  The default operator is ``=`` except for fields of type ``char``, ``text`` and
452
452
  ``many2one`` which is ``ilike``.
453
453
 
@@ -479,10 +479,6 @@ The following operators can be used:
479
479
 
480
480
  For example: ``Name: != Dwight``
481
481
 
482
- .. note::
483
- The ``ilike`` operator is never explicit and ``%`` is appended to the value
484
- to make it behaves like ``starts with``.
485
-
486
482
  Values
487
483
  ++++++
488
484
 
@@ -506,12 +502,17 @@ There are two wildcards:
506
502
  * ``%``: matches any string of zero or more characters.
507
503
  * ``_``: matches any single character.
508
504
 
509
- It is possible to escape special characters in values by using double quotes.
505
+ It is possible to escape special characters in values by using double quotes or
506
+ prepending ``\\``.
510
507
 
511
508
  For example: ``Name: "Michael:Scott"``
512
509
 
513
510
  Here it will search with the value ``Michael:Scott``.
514
511
 
512
+ Or: ``Name: Michael\\_Scott``
513
+
514
+ Here it will search with the value ``Michael\_Scott``.
515
+
515
516
  Clause composition
516
517
  ++++++++++++++++++
517
518
 
@@ -0,0 +1,27 @@
1
+ #!/bin/sh
2
+ set -e
3
+ version=`./setup.py --version`
4
+ machine=`python3 -c "import platform; print(platform.machine())"`
5
+ rm -rf build dist
6
+ mkdir -p darwin/gtk-3.0
7
+ GDK_PIXBUF_MODULEDIR="$(dirname $(which gdk-pixbuf-query-loaders))/../lib/gdk-pixbuf-2.0/2.10.0/loaders" \
8
+ gdk-pixbuf-query-loaders \
9
+ | sed -e '/^#/d' \
10
+ | sed -e 's@/.*/lib/gdk-pixbuf-2.0@\@executable_path/lib/gdk-pixbuf-2.0@' \
11
+ > darwin/gtk-3.0/gdk-pixbuf.loaders
12
+ gtk-query-immodules-3.0 \
13
+ | sed -e '/^#/d' \
14
+ | sed -e 's@/.*/lib/gtk-3.0@\@executable_path/lib/gtk-3.0@' \
15
+ > darwin/gtk-3.0/gtk.immodules
16
+ ./setup.py compile_catalog
17
+ ./setup-freeze.py bdist_mac
18
+ mkdir dist
19
+ mv build/Tryton.app dist/
20
+ for f in CHANGELOG COPYRIGHT LICENSE; do
21
+ cp ${f} dist/${f}.txt
22
+ done
23
+ cp -r doc dist/
24
+ rm -f "tryton-${machine}-${version}.dmg"
25
+ hdiutil create "tryton-${machine}-${version}.dmg" \
26
+ -volname "Tryton Client ${machine} ${version}" \
27
+ -fs HFS+ -srcfolder dist
@@ -4,6 +4,9 @@ version=`./setup.py --version`
4
4
  series=${version%.*}
5
5
  bits=`python -c "import platform; print(platform.architecture()[0])"`
6
6
  rm -rf build dist
7
+ mkdir -p win32/gtk-3.0
8
+ gdk-pixbuf-query-loaders | sed -e '/^#/d' > win32/gtk-3.0/gdk-pixbuf.loaders
9
+ gtk-query-immodules-3.0 | sed -e '/^#/d' > win32/gtk-3.0/gtk.immodules
7
10
  ./setup.py compile_catalog
8
11
  ./setup-freeze.py install_exe -d dist
9
12
  cp `which gdbus.exe` dist/
@@ -23,8 +23,6 @@ except IOError:
23
23
 
24
24
 
25
25
  include_files = [
26
- (os.path.join('tryton', 'data'), 'data'),
27
- (os.path.join('tryton', 'plugins'), 'plugins'),
28
26
  (os.path.join(sys.prefix, 'share', 'glib-2.0', 'schemas'),
29
27
  os.path.join('share', 'glib-2.0', 'schemas')),
30
28
  (os.path.join(sys.prefix, 'lib', 'gtk-3.0'),
@@ -33,14 +31,12 @@ include_files = [
33
31
  os.path.join('lib', 'gdk-pixbuf-2.0')),
34
32
  (os.path.join(sys.prefix, 'lib', 'evince'),
35
33
  os.path.join('lib', 'evince')),
36
- (os.path.join(sys.prefix, 'share', 'locale'),
37
- os.path.join('share', 'locale')),
38
34
  (os.path.join(sys.prefix, 'share', 'icons', 'Adwaita'),
39
35
  os.path.join('share', 'icons', 'Adwaita')),
40
36
  (os.path.join(sys.platform, 'gtk-3.0', 'gtk.immodules'),
41
- os.path.join('etc', 'gtk-3.0', 'gtk.immodules')),
37
+ os.path.join('share', 'gtk-3.0', 'gtk.immodules')),
42
38
  (os.path.join(sys.platform, 'gtk-3.0', 'gdk-pixbuf.loaders'),
43
- os.path.join('etc', 'gtk-3.0', 'gdk-pixbuf.loaders')),
39
+ os.path.join('share', 'gtk-3.0', 'gdk-pixbuf.loaders')),
44
40
  ]
45
41
 
46
42
  required_gi_namespaces = [
@@ -70,7 +66,10 @@ def replace_path(match):
70
66
  libs = [os.path.basename(p) for p in match.group(1).split(',')]
71
67
  required_libs.update(libs)
72
68
  if sys.platform == 'darwin':
73
- libs = [os.path.join('@executable_path', l) for l in libs]
69
+ prefix = '@executable_path/lib'
70
+ else:
71
+ prefix = 'lib'
72
+ libs = [os.path.join(prefix, l) for l in libs]
74
73
  return 'shared-library="%s"' % ','.join(libs)
75
74
 
76
75
 
@@ -109,14 +108,14 @@ for lib in required_libs:
109
108
  break
110
109
  else:
111
110
  raise Exception('%s not found' % lib)
112
- include_files.append((path, lib))
111
+ include_files.append((path, os.path.join('lib', lib)))
113
112
 
114
113
  ssl_paths = ssl.get_default_verify_paths()
115
114
  include_files.append(
116
- (ssl_paths.openssl_cafile, os.path.join('etc', 'ssl', 'cert.pem')))
115
+ (ssl_paths.openssl_cafile, os.path.join('share', 'ssl', 'cert.pem')))
117
116
  if os.path.exists(ssl_paths.openssl_capath):
118
117
  include_files.append(
119
- (ssl_paths.openssl_capath, os.path.join('etc', 'ssl', 'certs')))
118
+ (ssl_paths.openssl_capath, os.path.join('share', 'ssl', 'certs')))
120
119
 
121
120
  version = Popen(
122
121
  'python3 ./setup.py --version', stdout=PIPE, shell=True, encoding='utf-8'
@@ -125,14 +124,13 @@ version = version.strip()
125
124
 
126
125
  setup(name='tryton',
127
126
  version=version,
128
- packages=find_packages(),
129
127
  options={
130
128
  'build_exe': {
131
129
  'no_compress': True,
132
130
  'include_files': include_files,
133
131
  'excludes': ['tkinter'],
134
132
  'silent': True,
135
- 'packages': ['gi'],
133
+ 'packages': find_packages() + ['gi'],
136
134
  'include_msvcr': True,
137
135
  },
138
136
  'bdist_mac': {
@@ -85,7 +85,7 @@ dist = setup(name=name,
85
85
  download_url=download_url,
86
86
  project_urls={
87
87
  "Bug Tracker": 'https://bugs.tryton.org/',
88
- "Documentation": 'https://docs.tryton.org/',
88
+ "Documentation": 'https://docs.tryton.org/latest/client-desktop/',
89
89
  "Forum": 'https://www.tryton.org/forum',
90
90
  "Source Code": 'https://code.tryton.org/tryton',
91
91
  },
@@ -1,6 +1,6 @@
1
1
  # This file is part of Tryton. The COPYRIGHT file at the top level of
2
2
  # this repository contains the full copyright notices and license terms.
3
- __version__ = "7.0.7"
3
+ __version__ = "7.4.4"
4
4
  import locale
5
5
 
6
6
  import gi
@@ -0,0 +1,34 @@
1
+ # This file is part of Tryton. The COPYRIGHT file at the top level of
2
+ # this repository contains the full copyright notices and license terms.
3
+
4
+ from collections import OrderedDict
5
+
6
+
7
+ class CacheDict(OrderedDict):
8
+
9
+ def __init__(self, *args, cache_len=10, default_factory=None, **kwargs):
10
+ assert cache_len > 0
11
+ self.cache_len = cache_len
12
+ self.default_factory = default_factory
13
+
14
+ super().__init__(*args, **kwargs)
15
+
16
+ def __setitem__(self, key, value):
17
+ super().__setitem__(key, value)
18
+ self.move_to_end(key)
19
+
20
+ while len(self) > self.cache_len:
21
+ oldkey = next(iter(self))
22
+ self.__delitem__(oldkey)
23
+
24
+ def __getitem__(self, key):
25
+ value = super().__getitem__(key)
26
+ self.move_to_end(key)
27
+ return value
28
+
29
+ def __missing__(self, key):
30
+ if self.default_factory is None:
31
+ raise KeyError(key)
32
+ value = self.default_factory()
33
+ self[key] = value
34
+ return value