Nicolas Évrard
4e51aeaeb0
Add (i)like support to domain inversion
...
issue7522
review56261002
2018-06-27 10:27:02 +02:00
Cédric Krier
2c38587f10
Keep Python2 compatibility for the documentation
...
readthedocs.org build with a Python2 environment.
2018-06-26 23:05:53 +02:00
Cédric Krier
ce385af57d
Update to Python 3
...
issue7488
review48431002
2018-06-26 19:08:57 +02:00
Cédric Krier
4885b75e41
Catch ProtocolError on second EPIPE call in jsonrpc
...
The pipe could be broken and the request may raise an error like 401
UNAUTHORIZE. So this error must be catch also for the second call.
issue7521
review52391002
2018-06-25 22:53:47 +02:00
Cédric Krier
b7a55b2cf3
Add views of the field in the loading strategy
...
This strategy limits the selection of other fields to load in bunch to those
sharing at least one common view.
issue7359
review46361002
2018-06-20 11:21:31 +02:00
Cédric Krier
408ce5d0f3
Add view_id option to switch action
...
issue7364
review46371002
2018-06-20 10:19:17 +02:00
Cédric Krier
018ac27cb6
Use 5 seconds as timeout when checking new version
...
The default timeout may be too long.
issue7520
review47551002
2018-06-19 15:06:45 +02:00
Nicolas Évrard
83690db378
Use non conflicting keyboard shortcuts in sync with sao
...
issue7218
review51381002
2018-06-18 15:49:35 +02:00
Cédric Krier
5a4482fa85
Don't show WinSearch on Many2Many if it has a single result
...
If the search result is a single record, we add it directly instead of showing
the pop-up.
issue7476
review45591002
2018-06-11 23:24:18 +02:00
Cédric Krier
e698eb0cae
Support to add empty widget to HContainer and VContainer
...
The standard container supports adding None as widget so its derivatives
should also.
issue7508
review48481002
2018-06-11 23:19:23 +02:00
Maxime Richez
cab61b5e8f
Add context to get_rec_name RPC call
...
issue7454
review45191002
2018-06-08 09:25:02 +02:00
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