tryton 7.0.7__tar.gz → 7.2.13__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 (302) hide show
  1. {tryton-7.0.7 → tryton-7.2.13}/CHANGELOG +47 -7
  2. {tryton-7.0.7 → tryton-7.2.13}/COPYRIGHT +3 -3
  3. {tryton-7.0.7 → tryton-7.2.13}/PKG-INFO +3 -3
  4. {tryton-7.0.7 → tryton-7.2.13}/bin/tryton +8 -7
  5. {tryton-7.0.7 → tryton-7.2.13}/doc/conf.py +2 -3
  6. {tryton-7.0.7 → tryton-7.2.13}/doc/usage.rst +8 -7
  7. tryton-7.2.13/make-darwin-installer.sh +27 -0
  8. {tryton-7.0.7 → tryton-7.2.13}/make-win32-installer.sh +3 -0
  9. {tryton-7.0.7 → tryton-7.2.13}/setup-freeze.py +10 -12
  10. {tryton-7.0.7 → tryton-7.2.13}/setup.py +1 -1
  11. {tryton-7.0.7 → tryton-7.2.13}/tryton/__init__.py +1 -1
  12. tryton-7.2.13/tryton/cache.py +34 -0
  13. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/common.py +137 -69
  14. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/completion.py +2 -2
  15. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/datetime_.py +3 -1
  16. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/domain_inversion.py +2 -1
  17. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/domain_parser.py +17 -7
  18. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/selection.py +6 -3
  19. tryton-7.2.13/tryton/common/tempfile.py +34 -0
  20. {tryton-7.0.7 → tryton-7.2.13}/tryton/config.py +4 -5
  21. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/bg/LC_MESSAGES/tryton.mo +0 -0
  22. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/bg/LC_MESSAGES/tryton.po +42 -4
  23. tryton-7.2.13/tryton/data/locale/ca/LC_MESSAGES/tryton.mo +0 -0
  24. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/ca/LC_MESSAGES/tryton.po +47 -8
  25. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/cs/LC_MESSAGES/tryton.mo +0 -0
  26. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/cs/LC_MESSAGES/tryton.po +42 -4
  27. tryton-7.2.13/tryton/data/locale/de/LC_MESSAGES/tryton.mo +0 -0
  28. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/de/LC_MESSAGES/tryton.po +45 -6
  29. tryton-7.2.13/tryton/data/locale/es/LC_MESSAGES/tryton.mo +0 -0
  30. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/es/LC_MESSAGES/tryton.po +46 -7
  31. tryton-7.2.13/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo +0 -0
  32. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/es_419/LC_MESSAGES/tryton.po +43 -5
  33. tryton-7.2.13/tryton/data/locale/et/LC_MESSAGES/tryton.mo +0 -0
  34. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/et/LC_MESSAGES/tryton.po +46 -6
  35. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/fa/LC_MESSAGES/tryton.mo +0 -0
  36. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/fa/LC_MESSAGES/tryton.po +46 -7
  37. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/fi/LC_MESSAGES/tryton.mo +0 -0
  38. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/fi/LC_MESSAGES/tryton.po +41 -4
  39. tryton-7.2.13/tryton/data/locale/fr/LC_MESSAGES/tryton.mo +0 -0
  40. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/fr/LC_MESSAGES/tryton.po +46 -7
  41. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/hu/LC_MESSAGES/tryton.mo +0 -0
  42. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/hu/LC_MESSAGES/tryton.po +46 -6
  43. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/id/LC_MESSAGES/tryton.mo +0 -0
  44. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/id/LC_MESSAGES/tryton.po +43 -4
  45. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/it/LC_MESSAGES/tryton.mo +0 -0
  46. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/it/LC_MESSAGES/tryton.po +45 -6
  47. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.mo +0 -0
  48. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/lo/LC_MESSAGES/tryton.mo +0 -0
  49. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/lo/LC_MESSAGES/tryton.po +45 -6
  50. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/lt/LC_MESSAGES/tryton.mo +0 -0
  51. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/lt/LC_MESSAGES/tryton.po +46 -6
  52. tryton-7.2.13/tryton/data/locale/nl/LC_MESSAGES/tryton.mo +0 -0
  53. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/nl/LC_MESSAGES/tryton.po +46 -7
  54. tryton-7.2.13/tryton/data/locale/pl/LC_MESSAGES/tryton.mo +0 -0
  55. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/pl/LC_MESSAGES/tryton.po +84 -60
  56. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/pt/LC_MESSAGES/tryton.mo +0 -0
  57. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/pt/LC_MESSAGES/tryton.po +45 -6
  58. tryton-7.2.13/tryton/data/locale/ro/LC_MESSAGES/tryton.mo +0 -0
  59. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/ro/LC_MESSAGES/tryton.po +57 -17
  60. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/ru/LC_MESSAGES/tryton.mo +0 -0
  61. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/ru/LC_MESSAGES/tryton.po +43 -6
  62. tryton-7.2.13/tryton/data/locale/sl/LC_MESSAGES/tryton.mo +0 -0
  63. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/sl/LC_MESSAGES/tryton.po +46 -5
  64. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/tr/LC_MESSAGES/tryton.mo +0 -0
  65. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/tr/LC_MESSAGES/tryton.po +41 -4
  66. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/tryton.pot +41 -4
  67. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/uk/LC_MESSAGES/tryton.mo +0 -0
  68. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/uk/LC_MESSAGES/tryton.po +46 -6
  69. tryton-7.2.13/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo +0 -0
  70. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.po +46 -5
  71. {tryton-7.0.7 → tryton-7.2.13}/tryton/device_cookie.py +1 -1
  72. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/main.py +3 -2
  73. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/about.py +1 -1
  74. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/dblogin.py +2 -2
  75. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/email_.py +1 -1
  76. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/form.py +6 -4
  77. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/log.py +24 -2
  78. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/model/field.py +84 -34
  79. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/model/group.py +3 -1
  80. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/model/record.py +64 -15
  81. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/screen/screen.py +83 -46
  82. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/calendar_gtk/calendar_.py +15 -9
  83. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form.py +6 -12
  84. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/char.py +5 -6
  85. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/dictionary.py +37 -24
  86. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/document.py +9 -10
  87. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/many2many.py +17 -7
  88. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/many2one.py +21 -13
  89. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/one2many.py +25 -6
  90. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/state_widget.py +6 -2
  91. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/graph_gtk/graph.py +3 -1
  92. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/list.py +68 -35
  93. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/list_gtk/editabletree.py +2 -1
  94. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/list_gtk/widget.py +58 -23
  95. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/screen_container.py +3 -5
  96. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/win_export.py +1 -2
  97. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/win_form.py +9 -7
  98. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/win_import.py +9 -4
  99. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/wizard.py +13 -10
  100. {tryton-7.0.7 → tryton-7.2.13}/tryton/jsonrpc.py +46 -28
  101. {tryton-7.0.7 → tryton-7.2.13}/tryton/plugins/__init__.py +5 -3
  102. {tryton-7.0.7 → tryton-7.2.13}/tryton/pyson.py +55 -5
  103. {tryton-7.0.7 → tryton-7.2.13}/tryton/rpc.py +18 -0
  104. {tryton-7.0.7 → tryton-7.2.13}/tryton/tests/test_common_domain_parser.py +8 -0
  105. {tryton-7.0.7 → tryton-7.2.13}/tryton/translate.py +5 -2
  106. {tryton-7.0.7 → tryton-7.2.13}/tryton.egg-info/PKG-INFO +3 -3
  107. {tryton-7.0.7 → tryton-7.2.13}/tryton.egg-info/SOURCES.txt +3 -6
  108. tryton-7.0.7/.readthedocs.yaml +0 -10
  109. tryton-7.0.7/darwin/gtk-3.0/gdk-pixbuf.loaders +0 -107
  110. tryton-7.0.7/darwin/gtk-3.0/gtk.immodules +0 -40
  111. tryton-7.0.7/make-darwin-installer.sh +0 -15
  112. tryton-7.0.7/tryton/data/locale/ca/LC_MESSAGES/tryton.mo +0 -0
  113. tryton-7.0.7/tryton/data/locale/de/LC_MESSAGES/tryton.mo +0 -0
  114. tryton-7.0.7/tryton/data/locale/es/LC_MESSAGES/tryton.mo +0 -0
  115. tryton-7.0.7/tryton/data/locale/es_419/LC_MESSAGES/tryton.mo +0 -0
  116. tryton-7.0.7/tryton/data/locale/et/LC_MESSAGES/tryton.mo +0 -0
  117. tryton-7.0.7/tryton/data/locale/fr/LC_MESSAGES/tryton.mo +0 -0
  118. tryton-7.0.7/tryton/data/locale/nl/LC_MESSAGES/tryton.mo +0 -0
  119. tryton-7.0.7/tryton/data/locale/pl/LC_MESSAGES/tryton.mo +0 -0
  120. tryton-7.0.7/tryton/data/locale/ro/LC_MESSAGES/tryton.mo +0 -0
  121. tryton-7.0.7/tryton/data/locale/sl/LC_MESSAGES/tryton.mo +0 -0
  122. tryton-7.0.7/tryton/data/locale/zh_CN/LC_MESSAGES/tryton.mo +0 -0
  123. tryton-7.0.7/win32/gtk-3.0/gdk-pixbuf.loaders +0 -114
  124. tryton-7.0.7/win32/gtk-3.0/gtk.immodules +0 -0
  125. {tryton-7.0.7 → tryton-7.2.13}/LICENSE +0 -0
  126. {tryton-7.0.7 → tryton-7.2.13}/MANIFEST.in +0 -0
  127. {tryton-7.0.7 → tryton-7.2.13}/README.rst +0 -0
  128. {tryton-7.0.7 → tryton-7.2.13}/catalan.nsh +0 -0
  129. {tryton-7.0.7 → tryton-7.2.13}/doc/glossary.rst +0 -0
  130. {tryton-7.0.7 → tryton-7.2.13}/doc/index.rst +0 -0
  131. {tryton-7.0.7 → tryton-7.2.13}/doc/installation.rst +0 -0
  132. {tryton-7.0.7 → tryton-7.2.13}/doc/releases.rst +0 -0
  133. {tryton-7.0.7 → tryton-7.2.13}/doc/requirements-doc.txt +0 -0
  134. {tryton-7.0.7 → tryton-7.2.13}/english.nsh +0 -0
  135. {tryton-7.0.7 → tryton-7.2.13}/farsi.nsh +0 -0
  136. {tryton-7.0.7 → tryton-7.2.13}/french.nsh +0 -0
  137. {tryton-7.0.7 → tryton-7.2.13}/german.nsh +0 -0
  138. {tryton-7.0.7 → tryton-7.2.13}/portuguese.nsh +0 -0
  139. {tryton-7.0.7 → tryton-7.2.13}/setup.cfg +0 -0
  140. {tryton-7.0.7 → tryton-7.2.13}/setup.nsi +0 -0
  141. {tryton-7.0.7 → tryton-7.2.13}/slovenian.nsh +0 -0
  142. {tryton-7.0.7 → tryton-7.2.13}/spanish.nsh +0 -0
  143. {tryton-7.0.7 → tryton-7.2.13}/tox.ini +0 -0
  144. {tryton-7.0.7 → tryton-7.2.13}/tryton/action/__init__.py +0 -0
  145. {tryton-7.0.7 → tryton-7.2.13}/tryton/action/main.py +0 -0
  146. {tryton-7.0.7 → tryton-7.2.13}/tryton/bus.py +0 -0
  147. {tryton-7.0.7 → tryton-7.2.13}/tryton/client.py +0 -0
  148. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/__init__.py +0 -0
  149. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/button.py +0 -0
  150. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrendererbinary.py +0 -0
  151. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrendererbutton.py +0 -0
  152. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrendererclickablepixbuf.py +0 -0
  153. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrenderercombo.py +0 -0
  154. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrendererfloat.py +0 -0
  155. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrendererinteger.py +0 -0
  156. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrenderertext.py +0 -0
  157. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/cellrenderertoggle.py +0 -0
  158. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/entry_position.py +0 -0
  159. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/environment.py +0 -0
  160. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/focus.py +0 -0
  161. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/htmltextbuffer.py +0 -0
  162. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/number_entry.py +0 -0
  163. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/popup_menu.py +0 -0
  164. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/richtext.py +0 -0
  165. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/timedelta.py +0 -0
  166. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/underline.py +0 -0
  167. {tryton-7.0.7 → tryton-7.2.13}/tryton/common/widget_style.py +0 -0
  168. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/locale/ja_JP/LC_MESSAGES/tryton.po +0 -0
  169. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/LICENSE +0 -0
  170. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-add.svg +0 -0
  171. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-archive.svg +0 -0
  172. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-arrow-down.svg +0 -0
  173. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-arrow-left.svg +0 -0
  174. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-arrow-right.svg +0 -0
  175. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-arrow-up.svg +0 -0
  176. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-attach.svg +0 -0
  177. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-back.svg +0 -0
  178. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-barcode-scanner.svg +0 -0
  179. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-bookmark-border.svg +0 -0
  180. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-bookmark.svg +0 -0
  181. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-bookmarks.svg +0 -0
  182. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-cancel.svg +0 -0
  183. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-clear.svg +0 -0
  184. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-close.svg +0 -0
  185. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-copy.svg +0 -0
  186. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-create.svg +0 -0
  187. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-date.svg +0 -0
  188. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-delete.svg +0 -0
  189. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-download.svg +0 -0
  190. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-drag.svg +0 -0
  191. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-email.svg +0 -0
  192. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-error.svg +0 -0
  193. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-exit.svg +0 -0
  194. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-export.svg +0 -0
  195. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-filter.svg +0 -0
  196. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-align-center.svg +0 -0
  197. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-align-justify.svg +0 -0
  198. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-align-left.svg +0 -0
  199. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-align-right.svg +0 -0
  200. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-bold.svg +0 -0
  201. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-color-text.svg +0 -0
  202. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-italic.svg +0 -0
  203. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-format-underline.svg +0 -0
  204. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-forward.svg +0 -0
  205. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-history.svg +0 -0
  206. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-icon.png +0 -0
  207. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-icon.svg +0 -0
  208. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-import.svg +0 -0
  209. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-info.svg +0 -0
  210. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-launch.svg +0 -0
  211. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-link.svg +0 -0
  212. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-log.svg +0 -0
  213. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-menu.svg +0 -0
  214. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-note.svg +0 -0
  215. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-ok.svg +0 -0
  216. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-open.svg +0 -0
  217. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-print.svg +0 -0
  218. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-public.svg +0 -0
  219. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-question.svg +0 -0
  220. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-refresh.svg +0 -0
  221. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-remove.svg +0 -0
  222. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-save.svg +0 -0
  223. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-search.svg +0 -0
  224. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-send.svg +0 -0
  225. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-sound-off.svg +0 -0
  226. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-sound-on.svg +0 -0
  227. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-star-border.svg +0 -0
  228. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-star.svg +0 -0
  229. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-switch.svg +0 -0
  230. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-translate.svg +0 -0
  231. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-unarchive.svg +0 -0
  232. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-undo.svg +0 -0
  233. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton-warning.svg +0 -0
  234. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton.icns +0 -0
  235. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton.ico +0 -0
  236. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/pixmaps/tryton/tryton.svg +0 -0
  237. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/sounds/LICENSE +0 -0
  238. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/sounds/danger.wav +0 -0
  239. {tryton-7.0.7 → tryton-7.2.13}/tryton/data/sounds/success.wav +0 -0
  240. {tryton-7.0.7 → tryton-7.2.13}/tryton/exceptions.py +0 -0
  241. {tryton-7.0.7 → tryton-7.2.13}/tryton/fingerprints.py +0 -0
  242. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/__init__.py +0 -0
  243. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/__init__.py +0 -0
  244. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/attachment.py +0 -0
  245. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/board.py +0 -0
  246. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/code_scanner.py +0 -0
  247. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/infobar.py +0 -0
  248. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/limit.py +0 -0
  249. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/nomodal.py +0 -0
  250. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/note.py +0 -0
  251. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/preference.py +0 -0
  252. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/revision.py +0 -0
  253. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/tabcontent.py +0 -0
  254. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_board/__init__.py +0 -0
  255. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_board/action.py +0 -0
  256. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_board/view_board.py +0 -0
  257. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/__init__.py +0 -0
  258. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/model/__init__.py +0 -0
  259. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/screen/__init__.py +0 -0
  260. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/__init__.py +0 -0
  261. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/calendar_.py +0 -0
  262. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/calendar_gtk/__init__.py +0 -0
  263. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/calendar_gtk/dates_period.py +0 -0
  264. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/calendar_gtk/toolbar.py +0 -0
  265. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/__init__.py +0 -0
  266. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/binary.py +0 -0
  267. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/calendar_.py +0 -0
  268. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/checkbox.py +0 -0
  269. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/float.py +0 -0
  270. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/image.py +0 -0
  271. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/integer.py +0 -0
  272. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/multiselection.py +0 -0
  273. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/one2one.py +0 -0
  274. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/progressbar.py +0 -0
  275. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/pyson.py +0 -0
  276. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/reference.py +0 -0
  277. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/richtextbox.py +0 -0
  278. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/selection.py +0 -0
  279. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/textbox.py +0 -0
  280. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/timedelta.py +0 -0
  281. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/url.py +0 -0
  282. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/form_gtk/widget.py +0 -0
  283. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/graph.py +0 -0
  284. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/graph_gtk/__init__.py +0 -0
  285. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/graph_gtk/bar.py +0 -0
  286. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/graph_gtk/line.py +0 -0
  287. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/graph_gtk/pie.py +0 -0
  288. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/list_form.py +0 -0
  289. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/view_form/view/list_gtk/__init__.py +0 -0
  290. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/win_csv.py +0 -0
  291. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/win_search.py +0 -0
  292. {tryton-7.0.7 → tryton-7.2.13}/tryton/gui/window/window.py +0 -0
  293. {tryton-7.0.7 → tryton-7.2.13}/tryton/plugins/translation/__init__.py +0 -0
  294. {tryton-7.0.7 → tryton-7.2.13}/tryton/tests/__init__.py +0 -0
  295. {tryton-7.0.7 → tryton-7.2.13}/tryton/tests/test_common.py +0 -0
  296. {tryton-7.0.7 → tryton-7.2.13}/tryton/tests/test_common_selection.py +0 -0
  297. {tryton-7.0.7 → tryton-7.2.13}/tryton/tests/test_common_timedelta.py +0 -0
  298. {tryton-7.0.7 → tryton-7.2.13}/tryton.desktop +0 -0
  299. {tryton-7.0.7 → tryton-7.2.13}/tryton.egg-info/dependency_links.txt +0 -0
  300. {tryton-7.0.7 → tryton-7.2.13}/tryton.egg-info/not-zip-safe +0 -0
  301. {tryton-7.0.7 → tryton-7.2.13}/tryton.egg-info/requires.txt +0 -0
  302. {tryton-7.0.7 → tryton-7.2.13}/tryton.egg-info/top_level.txt +0 -0
@@ -1,39 +1,79 @@
1
1
 
2
- Version 7.0.7 - 2024-03-03
2
+ Version 7.2.13 - 2025-01-16
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
7
+ Version 7.2.12 - 2025-01-01
8
+ ---------------------------
9
+ * Bug fixes (see mercurial logs for details)
10
+
11
+
12
+ Version 7.2.11 - 2024-12-16
13
+ ---------------------------
14
+ * Bug fixes (see mercurial logs for details)
15
+
16
+
17
+ Version 7.2.10 - 2024-12-01
18
+ ---------------------------
19
+ * Bug fixes (see mercurial logs for details)
20
+
21
+
22
+ Version 7.2.9 - 2024-11-06
3
23
  --------------------------
4
24
  * Bug fixes (see mercurial logs for details)
5
25
 
6
26
 
7
- Version 7.0.6 - 2024-02-15
27
+ Version 7.2.8 - 2024-10-18
8
28
  --------------------------
9
29
  * Bug fixes (see mercurial logs for details)
10
30
 
11
31
 
12
- Version 7.0.5 - 2024-01-15
32
+ Version 7.2.7 - 2024-10-05
13
33
  --------------------------
14
34
  * Bug fixes (see mercurial logs for details)
15
35
 
16
36
 
17
- Version 7.0.4 - 2024-01-01
37
+ Version 7.2.6 - 2024-09-16
18
38
  --------------------------
19
39
  * Bug fixes (see mercurial logs for details)
20
40
 
21
41
 
22
- Version 7.0.3 - 2023-12-16
42
+ Version 7.2.5 - 2024-09-01
23
43
  --------------------------
24
44
  * Bug fixes (see mercurial logs for details)
25
45
 
26
46
 
27
- Version 7.0.2 - 2023-11-17
47
+ Version 7.2.4 - 2024-08-01
28
48
  --------------------------
29
49
  * Bug fixes (see mercurial logs for details)
30
50
 
31
51
 
32
- Version 7.0.1 - 2023-11-03
52
+ Version 7.2.3 - 2024-07-01
33
53
  --------------------------
34
54
  * Bug fixes (see mercurial logs for details)
35
55
 
36
56
 
57
+ Version 7.2.2 - 2024-06-15
58
+ --------------------------
59
+ * Bug fixes (see mercurial logs for details)
60
+
61
+
62
+ Version 7.2.1 - 2024-05-01
63
+ --------------------------
64
+ * Bug fixes (see mercurial logs for details)
65
+
66
+
67
+ Version 7.2.0 - 2024-04-29
68
+ --------------------------
69
+ * Bug fixes (see mercurial logs for details)
70
+ * Read xxx2Many fields using the dotted notation
71
+ * Display XML ID on Log window
72
+ * Use operators when converting PYSON to string
73
+ * Add contextual menu to copy cell and column
74
+ * Allow resetting forgotten password
75
+ * Clean temporary files and directories at exit
76
+
37
77
  Version 7.0.0 - 2023-10-30
38
78
  --------------------------
39
79
  * Bug fixes (see mercurial logs for details)
@@ -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.2.13
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.2/
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():
@@ -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.2.13"
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