Commit Graph
4501 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana df01e02108 Call on_change methods after setting default dtstart on calendar view
issue7496
review45651002
2018-06-07 14:35:03 +02:00
Cédric Krier 78c7b895b4 Move predefined exports list under the buttons that control it
The prevent the first predefined export to be selected as it is no more the
first widget of the dialog. This makes the view more consistent with the
selected fields that come from the current view.

issue7462
review52291002
2018-05-31 13:20:39 +02:00
Cédric Krier f524a95769 Support width/height attribute on notebook
issue7432
review50351002
2018-05-29 10:33:18 +02:00
Cédric Krier 65ac46af9b Do not create new group when search_filter is called only for ids
issue7455
review50401003
2018-05-23 23:36:17 +02:00
Cédric Krier b5516cccdb Automatically uninstall previous version from Windows installer
The series number is used to detect previous installation.

issue7007
review38221002
2018-05-23 23:31:31 +02:00
Cédric Krier 15a0003e0e Use sig_save to get message info when triggering an action
Instead of always calling save_current on the screen, it is better to call
sig_save when the record has been modified. This allows to get message
information about failure or success but only if the record needed to be
saved.

issue7430
review45101002
2018-05-23 23:27:55 +02:00
Cédric Krier b275904d2c Update missing translations
issue7414
2018-05-21 23:13:10 +02:00
Cédric Krier c41fff4c2a Copy glib schemas when freezing
At least GtkFileChooserDialog requires its schema.

issue7416
review49331002
2018-05-15 00:21:46 +02:00
Cédric Krier 00f2269b86 Update gdk-pixbuf.loaders to lastest GDK version
issue7428
review45091002
2018-05-15 00:20:20 +02:00
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