Commit Graph
4467 Commits
Author SHA1 Message Date
Cédric Krier 514b28d633 Increase size and move icon as primary on date widget
and use calendar icon.

issue7298
review45341002
2018-04-05 19:22:08 +02:00
Cédric Krier 557f7ce605 PYSON widget does not modify the value because of different encoding
issue7105
review44881002
2018-04-03 16:43:06 +02:00
Cédric Krier 5e2829fcd4 Disconnect focus-out callback when xxx2many widget is destroyed
Once destroyed, the linked screen has no view to call set_value on.

issue7259
review36071002
2018-03-27 10:46:16 +02:00
Sergi Almacellas Abellana 266eb42fcc Manage active field on search widget
issue4341
review40411002
2018-03-26 14:26:33 +02:00
Nicolas Évrard 047a1d3096 Reset record to its original state when discarding the popup window
issue3325
review36451002
2018-03-23 16:38:40 +01:00
Nicolas Évrard a5ef4b5337 Add support of expand attribute on group tag
issue7220
review44151002
2018-03-23 16:30:46 +01:00
Sergi Almacellas Abellana 8832a273de Add the context model name in the screen context
issue7117
review39131002
2018-03-22 11:19:52 +01:00
Nicolas Évrard 2f9c7c519f Add support for search_* attributes on relational fields
issue6081
review30851002
2018-03-21 17:58:28 +01:00
Cédric Krier 7a8b6b924a Raise exception when the Lock for Login could not be acquired
The case when RPCExecute returns None is always forgotten. This shows that it
is the wrong design. Instead catching RPCException is always managed.
So it is better to raise an exception instead of returning None when the lock
for Login can not be acquired.

issue7211
review43231002
2018-03-19 15:58:02 +01:00
Nicolas Évrard 16556a04ff Add wizard information to wizard context
issue7143
review38011002
2018-03-16 18:27:20 +01:00
Cédric Krier ceba279f7e Require version of GtkSpell
issue7168
2018-03-15 22:48:08 +01:00
Cédric Krier 8c9913070a Use group context to retrieve the TimeDelta converter
The method does not have any record to get the context from, so it must only
use the group context.

issue7072
review44741002
2018-03-14 00:08:24 +01:00
Cédric Krier 80f60b55f4 Use limit to expand tree
The screen switch to the form view if the limit is reached.

issue4901
review44641002
2018-03-09 19:13:51 +01:00
Cédric Krier afcc1a9425 Rationalize context usage
issue7072
review40981002
2018-03-09 19:10:19 +01:00
Cédric Krier 65babd948b Remove alternative code for gtk+-2
issue7136
review40101002
2018-03-04 01:19:14 +01:00
Cédric Krier ccdf16cc31 Correctly evaluate domain between xxx2many and None
The value of empty xxx2many is an empty list which must be comparable to None.

issue7163
review43171002
2018-03-04 00:52:32 +01:00
Cédric Krier 9dbb4ba61f Send a logout before doing a login
This allows the server to clean the session.

issue7135
review39161002
2018-02-23 19:27:57 +01:00
Cédric Krier c6f68e8c9d Replace gtk-button-images setting by set_always_show_image
This setting is deprecated since GTK+-3.10.

issue7131
review35941002
2018-02-23 19:26:57 +01:00
Cédric Krier 0ffae37736 Remove gtk-can-change-accels
This option is ignored since GTK+-3.10.

issue7130
review35931002
2018-02-19 19:18:58 +01:00
Cédric Krier 2d5770d1a0 Try some standard encoding and fallback to ascii for HTML deserialisation
chardet is not enough reliable so we try some encodings.
Also with GTK-3, the deserialize callback has the length parameter.

issue5182
review39141002
2018-02-19 19:10:36 +01:00
Cédric Krier f49332b7f6 Use GtkSpell from introspection
pygtkcompat does not monkey patch for gtkspell.

issue7124
review37011002
2018-02-19 19:08:13 +01:00
Cédric Krier 341aa41fbb Ensure right exceptions are raised by RPCExecute callback
- The callback must raise the exception
- If the exception is processed, the remaining exception should be an
  RPCException
- process_exception must not call itself because the rpc_execute already
  manage the exception
- The creation of the warning record should not use rpc_execute to not trigger
  the callback of the second call

issue7094
review44621002
2018-02-19 19:06:45 +01:00
Cédric Krier b0642c6686 Move page icon on the left and simplify image creation
issue7060
review35861002
2018-02-07 00:42:49 +01:00
Cédric Krier 3441a69705 Always disable scroll-event and prevent move-active on readonly ComboBox
issue7076
review40991002
2018-02-04 23:43:14 +01:00
Cédric Krier b941e9fd9d Set also editable property when setting sensitive on Entry
issue7074
review41791002
2018-02-04 23:41:05 +01:00
Cédric Krier 4c24fa6bcf Add common date_format to fallback to rpc context format
Since issue6082, the rpc context locale date format is no more set in the
group context.

issue7071
review40971002
2018-02-04 23:38:27 +01:00
Nicolas Évrard f33818773b Add keyword attribute to button tag
issue7067
review44581002
2018-01-24 14:33:50 +01:00
Cédric Krier ead29b17e6 Use underline on label with mnemonic widget
This allow to jump quickly to a specific widget.

issue2312
review35871002
2018-01-23 22:20:00 +01:00
Cédric Krier 0f6469bd54 Raise KeyError when Record.__getitem__ is called with a unknown field name
issue7073
review44591002
2018-01-23 22:18:15 +01:00
Cédric Krier b2a485c089 Support field name on image tag
issue7058
review40951002
2018-01-23 22:14:34 +01:00
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