Sergi Almacellas Abellana
6fa017bf4b
Set primary icon as insensitive when date widget is readonly
...
Changeset e94d02425edb moved the icon to primary widget but did not
update the sensitive property when widget is readonly
issue7426
review47401002
2018-05-11 10:15:45 +02:00
Cédric Krier
573b260ad6
Remove single nsi executable
...
issue6075
review38211002
2018-05-10 20:17:01 +02:00
Cédric Krier
e7999cebbb
Correctly evaluate domain with reference field and list/tuple values
...
The python formatting of multiple values must be a tuple because a list is
used as a single argument.
If both sides are mixed tuple and list types, they must be compared using the
same type.
issue7418
review48321002
2018-05-10 20:13:24 +02:00
Cédric Krier
7d2d88a5f3
Call display only on current view or view that has a parent
...
It is only needed to refresh the display of a view that is actually displayed
which means being attached to a widget.
issue7363
review49271002
2018-05-08 10:05:01 +02:00
Cédric Krier
243e5c219b
Fix incompatible placeholders in translations
2018-05-07 18:39:50 +02:00
Cédric Krier
fd38d9df17
Use underline for concurrency dialog buttons
...
issue2785
review37221002
2018-04-30 15:50:16 +02:00
Cédric Krier
c3c2910d86
Let domain inversion set resource field value
...
If the tree view of the resource is editable, the WinForm saves the records
before the callback when the current record is changed. This fails because
resource field is not yet set.
issue7394
review48311002
2018-04-30 14:51:11 +02:00
Cédric Krier
3a5f27f89d
Rename Persian into Farsi for NSIS
...
issue7386
review45031002
2018-04-30 14:38:57 +02:00
Cédric Krier
9b9eacad92
Increase version number
2018-04-23 17:13:26 +02:00
Cédric Krier
d917ebf44f
Added tag 4.8.0 for changeset 2a2b48ea60fb
2018-04-23 17:13:12 +02:00
Cédric Krier
b6dfc27d07
Prepare release 4.8.0
2018-04-23 17:13:12 +02:00
Cédric Krier
b4e48bd549
Do not fail on timezone operation before epoch on Windows
...
dateutil fails to use tzlocal on Windows for datetime before epoch.
So we just skip the timezone conversion which result in using UTC.
issue4582
review36231003
2018-04-22 00:24:54 +02:00
Cédric Krier
d7789273af
Always convert to timezone datetime in domain parser
...
issue7373
review36241002
2018-04-22 00:22:40 +02:00
Cédric Krier
8a18b8cc15
Add test for parse_clause of nested generator
...
issue7345
review47361002
2018-04-22 00:21:33 +02:00
Cédric Krier
d42f0c44ba
Update translations
2018-04-21 13:04:50 +02:00
Cédric Krier
32d755dcdf
Get initial value only when cancel button is on win form
...
The initial value is only useful with the view type is form otherwise screen
may not have a current record like in Attachment.
issue7377
review45411002
2018-04-20 18:37:28 +02:00
Cédric Krier
cf25440c9f
Do not call Action.exec_keyword with a context containing RPC.context
...
The RPC.context should not be stored as the new Screen context.
issue7369
review36201002
2018-04-20 12:45:19 +02:00
Cédric Krier
4682f9e0d4
Use an empty list as default value for views URL parameters
...
The Screen expect to receive a list not a boolean.
issue7368
review50261002
2018-04-20 12:43:54 +02:00
Cédric Krier
2354c5e83d
Implement workaround for GTK bug with InfoBar and revealer
...
The workaround comes from
https://bugzilla.gnome.org/show_bug.cgi?id=710888#c16
issue7344
review36211002
2018-04-20 01:13:11 +02:00
Cédric Krier
fea4376884
Support Decimal in PYSONEncoder
...
issue7291
review41241002
2018-04-17 17:59:23 +02:00
Cédric Krier
3bdad3b88e
Add Persian
...
issue7311
2018-04-14 17:22:32 +02:00
Cédric Krier
1ab56309df
Toggle menu when clicking on Paned when the expander is not expanded
...
This allows to show the menu even if the expander arrow is not visible.
issue7315
review38141002
2018-04-13 18:57:02 +02:00
Cédric Krier
18fdc74779
Remove decoration on NoModal and resize/center when shown
...
Since changeset 4655eba14d71, the size of the dialog is the same as the parent
but if the OS put decoration on the dialog, it position overflow the parent
which may hide the bottom where the button are.
The choice is to ensure request no decoration and to ensure that the size and
position are reset when the NoModal is shown.
issue7300
review47261002
2018-04-13 18:44:52 +02:00
Cédric Krier
925855d999
Add viewBox attribute to SVG
...
issue7320
review42061002
2018-04-09 10:53:22 +02:00
Cédric Krier
109ce1832f
Destroy dialogs in reversed order
...
Otherwise the bottom one is destroyed and GTK destroys the others
automatically without calling the tryton's destroy method.
issue7303
review36131002
2018-04-09 10:44:15 +02:00
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