Commit Graph
4437 Commits
Author SHA1 Message Date
Cédric Krier e2ef26cf83 Ensure toplevel window is actually a WINDOW_TOPLEVEL type
The window_list_toplevels may return also WINDOW_POPUP which is not usable to
be set as parent. This happens when a toplevel window is searched from the
activate event of a popup menu.

issue7061
review43901002
2018-01-19 22:06:06 +01:00
Cédric Krier a2ccd96770 Add option to check new version
Check on startup and every 8 hours for bug-fix release with a HEAD request to
the download site. The URL depends on the platform and if the python system is
frozen. The notification message has a download button.

issue7033
review40901002
2018-01-12 13:31:06 +01:00
Diego Abad 55534c5a76 Use converter from TimeDeltaField when evaluate sum
TimeDelta converter take group as parameter instead record.

issue6946
review41691002
2018-01-09 18:51:45 +01:00
Cédric Krier b93db07bb2 Improve about dialog
- Use GTK+-3 features only
- Use predefined license
- Use tryton banner
- Add tag line as comment
- Set label for website
- Add translator credits (they have to translate 'translator-credits')
- Sort copyright file

issue7039
review35821002
2018-01-09 18:33:57 +01:00
Cédric Krier 02f22d99c2 Use the same size for dialog as the sensible parent
issue6997
review36881002
2017-12-26 17:29:55 +01:00
Cédric Krier 802a0a27e2 Simplify get_toplevel_window method
issue6995
review39951002
2017-12-26 17:14:54 +01:00
Sascha Gresk 66f5d83967 Replace "clear record" by "clear field"
issue5876
review42911002
2017-12-19 20:10:34 +01:00
Cédric Krier 2caa71deeb Replace re-emit button-press-event by call to row_active
In GTK+-3, the introspection fails to convert the union EventButton into
GdkEvent.

issue6994
review39941002
2017-12-13 18:09:08 +01:00
Cédric Krier e87090ca07 Catch all exceptions when evaluating the pyson value
issue7009
review35811002
2017-12-13 18:05:48 +01:00
Korbinian Preisler 47b40c2589 Fix name of signal action
issue7002
review39981002
2017-12-11 13:01:27 +01:00
Korbinian Preisler 1f9a622b3b Replace deprecated usage of params and signals in GTK+3
issue7002
review40871002
2017-12-11 12:33:37 +01:00
Korbinian Preisler c270c070a9 Do not set report name to lower case
issue6998
review40861002
2017-12-10 17:09:29 +01:00
Cédric Krier 12b6ee63e3 Catch the edition event of cell widgets to reset the M2O field value
issue6875
review40771002
2017-12-09 17:45:21 +01:00
Nicolas Évrard a43989f403 Do not return empty action list for X2M field when getting a record value
issue6988
2017-12-09 16:22:47 +01:00
Cédric Krier 3e1a2faea4 Fix incompatible format for placeholder in translations 2017-12-06 23:30:57 +01:00
Cédric Krier d657d56054 Show related record names for all windows
except from menu action.

issue6966
review36841002
2017-11-27 22:14:37 +01:00
Cédric Krier ee286246e1 Remove support of GTK+ 2.0
issue6932
review35761002
2017-11-27 22:11:59 +01:00
Cédric Krier caa0c9bd04 Add icons on Many2One in editable tree
issue6848
review43761002
2017-11-27 22:01:54 +01:00
Cédric Krier cdccc2ee96 Do not fail if size attribute of image is missing
issue6967
review39921002
2017-11-27 22:00:18 +01:00
Sergi Almacellas Abellana ce6e099fae Use translated values when exporting Reference and Selection fields
issue6961
review42861002
2017-11-27 10:37:47 +01:00
Cédric Krier dd08c7b187 Update home page link of GooCalendar 2017-11-25 15:28:16 +01:00
Cédric Krier f40c46f697 Use richtext widget for translation
The Toolbar is linked to a TextView so one Toolbar can be created per
translation TextView.
The API of TranslateMixin is modified into instance method to allow to call
helpers from the widget.
The TextBox is reworked to ease its usage by the RichTextBox.
The language label of the TranslateDialog are always vertically aligned to not
be in front of the toolbar.

issue6891
review38951003
2017-11-21 20:49:49 +01:00
Cédric Krier eec737558c Fix wrong module for platform test
introduced in rev d94c92c1de67
2017-11-11 18:39:26 +01:00
Cédric Krier bd9445e537 Use HBox and VBox for group with col -1 and 1
issue6829
review43581002
2017-11-10 10:51:45 +01:00
Cédric Krier c432564c4c Add support for cx_Freeze 5
- rename some options
- clean path of gtk configurations
- import user module for customization
- add lib directory in python path

issue6902
review39861002
2017-11-09 19:05:20 +01:00
Cédric Krier 562b34ad76 Process exception during the callback
As process exception may raise an exception, it should be run in the callback
to let the caller catch it. Otherwise it is raised in the thread and never
catch.

issue6907
review42811003
2017-11-09 19:03:02 +01:00
Cédric Krier a911475c74 Use 0 as default value for yoptions of Table.attach
GTK3 does not allow None as value.

issue6906
review40791002
2017-11-09 19:02:13 +01:00
Cédric Krier a644ada267 Ensure path is converted into tuple to allow comparison in check_recursion
issue6905
review35751002
2017-11-09 19:01:33 +01:00
Cédric Krier 7436b718fe Set SSL_CERT_FILE and SSL_CERT_DIR only under frozen win32
This is the only case where ssl certificates are bundled. On other platform,
it prevents to use the system certificates.

issue6901
review36771002
2017-11-09 19:00:56 +01:00
Cédric Krier 2526aa733b Filter psn argument under darwin
issue6899
review44421002
2017-11-09 18:59:57 +01:00
Sergi Almacellas Abellana 5d6e22cfb3 Use a list as default pyson value of search domain
issue6904
review43721002
2017-11-03 12:38:08 +01:00
Cédric Krier bb0db6fed7 Popup error dialog when processing unknown exception
issue6898
review37811002
2017-11-02 15:27:24 +01:00
Cédric Krier e4ecd0c91a Increase version number 2017-10-30 14:48:41 +01:00
Cédric Krier 80c7f46de2 Added tag 4.6.0 for changeset d7ed5002e472 2017-10-30 14:48:24 +01:00
Cédric Krier 281f2934d6 Prepare release 4.6.0 2017-10-30 14:48:24 +01:00
Adrien 49d4eea7bb Use group-changed to update wizard buttons states
record-modified is often call earlier because the listener is not supposed to
use the values. But group-changed is triggered by record-changed which is
called when all the fields are really changed included from on_change calls.

issue6576
review43421002
2017-10-29 00:46:11 +02:00
Cédric Krier 101ac60781 Update translations 2017-10-28 16:50:46 +02:00
Cédric Krier f42a1c0c73 Simplify process_exception to allow better callback management
process_exception should only be used for RPCProgress exception and other
should let be managed by sys.excepthook.

issue6731
review36691002
2017-10-25 18:47:21 +02:00
Cédric Krier 67cdb2374e Modify loaded record in set_client and set_on_change of O2M
Since changeset 361ac7c348d9, only modified record are sent to the server, the
multiselection widget use set_client to store selected row so those record
must be marked as modified.

issue6855
review39801002
2017-10-21 10:47:42 +02:00
Cédric Krier 8b593beff7 Use dirname of executable for current dir
The changeset 8ec708476327 wrongly removed the call to dirname.

issue6862
review39811002
2017-10-18 15:01:40 +02:00
Cédric Krier 48e170c1a4 Consider Reference field with negative record as empty
issue6749
review39721002
2017-10-11 22:42:38 +02:00
Cédric Krier d61d164a94 Decode path with file system encoding if it is not a unicode
The environment variable APPDATA and sys.executable on windows are bytes under
Python2 and strings under Python3.

issue5810
review38851002
2017-10-10 10:49:43 +02:00
Cédric Krier 6b4341214f Use None as yoptions
GTK+-3 does not support to have int as options so we must use None which works
also on GTK+-2.

issue6804
review40711002
2017-10-08 11:43:33 +02:00
Albert Cervera i Areny 2a0607f1eb Do not fail when completing selection with last value None
This may happen when searching for several values which need to be quoted
using ';"'.

issue6714
review41511002
2017-10-05 22:33:14 +02:00
Cédric Krier b5872e7350 Update domain parser test
Since changeset fb7c6e9e50b0, domain parser uses datetime_strftime which
always format year with 4 digits.

issue6797
review38781002
2017-10-02 16:23:27 +02:00
Cédric Krier 75ca8736d9 Add context_model to URL
issue6750
review44341002
2017-10-02 16:09:17 +02:00
Cédric Krier 9187e9cfc6 Add only modified records of xxx2Many
issue6754
review36611002
2017-09-27 18:48:02 +02:00
Cédric Krier d8362cd409 Copy CA certificate when compiling for win32
ssl version of msys2 does not use the default certificate of Windows but only
the certificates bundled in OPENSSLDIR.

issue6771
review38721002
2017-09-27 18:39:03 +02:00
Cédric Krier 8c52c82dfb Allow to export model and record name of Reference fields
issue5667
review44291003
2017-09-26 01:27:10 +02:00
Cédric Krier 77a8b71c2a Replace unset_editable by Screen readonly for WinSearch
This ensures to have the visual layout of a non-editable tree view.

issue6752
review44291002
2017-09-15 19:43:27 +02:00