Commit Graph
4833 Commits
Author SHA1 Message Date
Cédric Krier 2f4abf528a Clean build and dist before freezing 2020-02-29 23:36:28 +01:00
Cédric Krier 6855f5295d Use new event store when displaying calendar
This is faster because the event store is not yet connected to the calendar so
it does not trigger an update each time an event is added.

issue8875
review264841002
2020-02-29 23:27:02 +01:00
Cédric Krier b11b970b07 Set margin on main notebook widget
It is needed to have some spaces between the pane handle and the start of the
TreeView otherwise it is not possible to change the size of the first column if
it was reduced to 1 pixel.

issue9074
review268951002
2020-02-29 01:04:40 +01:00
Cédric Krier 2fb17eebec Always use search_context for creation from Many2One
and remove unused context from Many2Many WinForm as it is only for tree view.

issue9023
review282871003
2020-02-19 22:54:21 +01:00
Cédric Krier e732eda8b7 Do not detect or set style if there no toolbar
If the richtext widget has no toolbar, it does not need to detect the style and
neither set style.
Those callback's failed any way because tag_widgets is not filled.

issue9048
review274841004
2020-02-17 23:17:39 +01:00
Cédric Krier 78bd724d88 Populate pop-up menu with the context of the field
The form Many2One must fill the context like the list view does to ensure same
behavior from both side.

issue9040
review276851002
2020-02-15 01:38:31 +01:00
Cédric Krier d3c44f24ab Set client title at the end of header bar
issue8994
review256411002
2020-02-12 00:21:56 +01:00
Cédric Krier 23486abcb3 Manage exclude field from search window
When creating a new record from search window, we should include the relation
field as excluded like it is done for direct creation.

issue9024
review274811009
2020-02-12 00:11:55 +01:00
Sergi Almacellas Abellana 0e31583242 Add tests for time only timedelta conversion
issue9016
review258701002
2020-02-06 20:49:04 +01:00
Cédric Krier 5a8f81a97f Use locale context to format date in domain parser
issue8999
review278401002
2020-02-04 18:28:09 +01:00
Cédric Krier 8dd9ef7189 Do not set all day for datetime instance
issue9015
review274771002
2020-01-28 00:36:19 +01:00
Cédric Krier 272f4a599b Manage named separator as label
issue8961
review262741032
2020-01-24 00:25:30 +01:00
Cédric Krier da89ba809e Add xalign and yalign to group
issue8956
review258581002
2020-01-24 00:18:19 +01:00
Cédric Krier d3ae4b1135 Display nice user message on too many requests
issue8935
review276601002
2020-01-21 00:34:55 +01:00
Cédric Krier 07508541fd Add extra test for boolean to replace "is" with literal
issue8866
2020-01-21 00:18:32 +01:00
Cédric Krier db4f9c9897 Remove "is" with literal
It generates a warning on Python 3.8

issue8866
review274601002
2020-01-20 22:22:16 +01:00
Cédric Krier 3fa3c9d663 Ensure to always store and compare sorted multiselection value
issue9001
review268761002
2020-01-20 11:31:16 +01:00
Cédric Krier 6ec6f4edd8 Use locale.localize() and new format to format Decimal
This allows to use the new format syntax on Decimal which prevents a
conversion to float.
As locale.localize() is not yet added to released Python, we monkey patch
older version.
We also replace locale.format by locale.format_string as it has been
deprecated in Python 3.7.

issue8574
review282011002
2020-01-20 11:26:30 +01:00
Cédric Krier 3378ee4674 Remove id from screen context and compare proper attributes
As mode is not always filled, we must compare only if view_ids is empty and we
must use the default value as fall-back.
The limit is a local parameter that should not be forced when opening an URL.
The screen context may be modified thanks to the context model, we must compare
the current context of the screen instead of the initial one.

issue8977
review272751003
2020-01-20 11:10:51 +01:00
Cédric Krier fac74df68b Manage empty direction when updating arrows
Since issue8880, the direction of order may be null.

issue8974
review284691003
2020-01-09 22:35:55 +01:00
Nicolas Évrard ae44737828 Add MultiSelection entry to Dict field
issue8903
review284571003
2019-12-30 14:26:14 +01:00
Cédric Krier 19f1c154ad Keep order of completion strings
The tests are expecting this behavior.
2019-12-28 20:06:55 +01:00
Cédric Krier e14dba7c6b Position new record based on order
We sent an order to the client for action and xxx2Many so its screen has
always a default order set.
To position a new record on non editable tree, we use the order of the 'id'
column if presents.

issue8880
review276501003
2019-12-28 18:16:28 +01:00
Cédric Krier 6bebed8650 Consider event as all day only for date instances
issue8922
review282561002
2019-12-28 17:52:30 +01:00
Cédric Krier b74753f033 Add unittest
issue8905
review258541002
2019-12-18 22:41:05 +01:00
Cédric Krier f9c4848d22 Allow relation field to be selected in CSV export
issue6962
review284571002
2019-12-18 21:43:09 +01:00
Cédric Krier f04bf1bdf8 Replace sig_quit by on_quit call when canceling login
issue8916
review280621003
2019-12-18 21:37:19 +01:00
Cédric Krier a9113da491 Add help text to Dict keys
issue8801
review284371002
2019-12-11 22:25:51 +01:00
Cédric Krier 42bbf84dd2 Ensure all containers set the tooltip
We use a common class to ensure all container have a common behavior.

issue8892
review268571003
2019-12-11 18:39:02 +01:00
Cédric Krier 83b34302a1 Align CENTER instead of FILL when the widget is not expanded
issue8889
review264881002
2019-12-11 18:37:15 +01:00
Cédric Krier b788b5a643 Update button_action with returned values
issue8766
review268241002
2019-12-07 16:03:36 +01:00
Cédric Krier 06b3c13441 Properly test always checkbox in user warning
We stop using callback on checkbox to store the value but use directly the
value from the widget.

issue8847
review272541002
2019-12-05 21:43:59 +01:00
Cédric Krier 7326f057ec Bundle CA certificates when freezing
On Darwin either, Python uses its own copy of OpenSSL and so it does not use
the certificate from the OS.

issue8865
review274421002
2019-12-05 21:24:43 +01:00
Cédric Krier ed72f11134 Display record name on the concurrency comparison tab
issue8803
review282351002
2019-11-26 22:34:49 +01:00
Cédric Krier a8d33acff6 Append CI build number to package version
This makes them unique and avoid collision with the shared cache.

issue8831
review254651002
2019-11-25 21:55:22 +01:00
Nicolas Évrard 66d027d7d4 Add validate information on wizard Button
issue8571
review260041002
2019-11-21 15:39:56 +01:00
Nicolas Évrard 704b7905e1 Guess encoding when sending bytes to a Char widget
issue8824
review258401002
2019-11-21 15:38:10 +01:00
Nicolas Évrard 8b07b703dc Manage cancelling FileChooser in the Binary
issue8821
review268441002
2019-11-18 12:27:19 +01:00
Cédric Krier cc11b151fe Set alignment on widget and do not override with [x,y]fill
The alignment and fill properties are merged in GTK3 and the default value is FILL.
Also using properties in Gtk.Align is deprecated so it is better to set
directly alignment on the widget.

issue8799
review278121002
2019-11-16 12:54:07 +01:00
Cédric Krier 00ac259b79 Convert to float when parsing timedelta
The user can enter a float value for the converter parts.

issue8816
review256231002
2019-11-16 12:51:50 +01:00
Nicolas Évrard 3c167bf702 Remove implicit field names in ModelStorage.search_read
review285801003
issue8569
2019-11-15 11:57:15 +01:00
Cédric Krier 62bd140006 Increase version number 2019-11-04 12:46:55 +01:00
Cédric Krier e995cd6761 Added tag 5.4.0 for changeset 9f3fbb33df18 2019-11-04 12:46:38 +01:00
Cédric Krier c24a95dff8 Prepare release 5.4.0 2019-11-04 12:46:38 +01:00
Cédric Krier c340f449ac Add Indonesian
issue8184
review285461002
2019-11-01 23:35:00 +01:00
Cédric Krier 5b859cf3e0 Do not search remote value if view has no more the focus
If the user switch the tab with a value filled in the entry, the search window
is hidden and the all application is made insensitive. So we must ensure that
the search window will be linked to the current view. This is ensured by a
widget with the focus.

issue8733
review288291002
2019-10-30 13:22:22 +01:00
Cédric Krier 7ddb2ba096 Always delete One2Many record when add_remove attribute is not set
issue8731
review264431002
2019-10-24 19:19:55 +02:00
Cédric Krier 1611b76c77 Do not fail when get_visible_range return None
It can happen if there is no node if found by GTK.

issue8694
review277971002
2019-10-24 19:16:12 +02:00
Cédric Krier 686f9d6df6 Add permission groups on export
By default an export is only available for his creator and administrators.
We add a list of groups that are allowed to read and a second subset of groups
that are allowed to modify it.

issue8695
review252331002
2019-10-14 00:09:32 +02:00
Cédric Krier 3076f680f2 Add domain parser tests to parse operator as value
issue8711
review268071002
2019-10-11 11:48:24 +02:00