Cédric Krier
b2cfb5cd85
Add breadcrumb as title of window form
...
issue7167
review343151002
2021-02-14 15:45:21 +01:00
Cédric Krier
68900c7473
Add help for each value to selection and multiselection
...
issue9649
review320021002
2021-02-14 14:28:55 +01:00
Cédric Krier
61279e73c6
Display revision on dialog
...
issue10059
review335531002
2021-02-14 14:03:55 +01:00
Cédric Krier
c9cbac387a
Do not return string in get_textual_value of Boolean
...
The textual value is used to set active which must be boolean.
It is simpler that in search_equal_func to cast result into string.
issue10019
review335481002
2021-02-12 20:37:04 +01:00
Nicolas Évrard
292efbe32a
Set loaded fields first after O2M on_change calls
...
issue9930
review302811002
2021-02-04 18:05:18 +01:00
Cédric Krier
ca6b86d1e1
Use likify to convert search text in completion
...
issue10021
review320611003
2021-02-03 19:39:33 +01:00
Cédric Krier
c47d91493c
Do not render uri without a connection
...
issue10033
review324881002
2021-02-03 19:34:15 +01:00
Cédric Krier
663c3a3331
Detect all wild cards and escaped wild cards in likify
...
issue10020
review320611002
2021-02-03 19:30:13 +01:00
Cédric Krier
d64b70cce2
Include id as argument of pre_validate calls
...
It is needed by the server to get value of field not modified.
issue10014
review327031002
2021-01-29 00:04:29 +01:00
Cédric Krier
8ea11c966c
Execute report asynchronously
...
Some reports may be long to generate so it is better to display the watch
cursor.
issue8845
review349111003
2021-01-25 22:13:11 +01:00
Cédric Krier
550ca3a76c
Set text on child of editable for Time widget
...
The editable of Time widget is a combobox which does not have set_text method.
issue10003
review320571002
2021-01-24 20:59:46 +01:00
Cédric Krier
65805bd87b
Fall-back to internal selection value if selection is a string
...
When DomainParser format a domain from a DomainValidationError, the field
definition may contain as selection as string. At this place we can not really
make an other RPC call to convert the selection so we fall-back to the internal
value.
issue9989
review349271002
2021-01-22 01:11:08 +01:00
Cédric Krier
1f66e66355
Support float represented by exponential
...
The domain parser need to find the number of digit to display by analysing the
string format of the value. Some small values may be formatted as exponential.
issue9955
review347261002
2021-01-18 23:29:44 +01:00
Cédric Krier
d702f83d1d
Correctly set format and readonly on Date/Time Dict widget
...
issue9967
review333551002
2021-01-11 00:08:50 +01:00
Xavier
1525a56133
Remove unused nonblocking RPC
...
issue9647
review314711002
2020-12-25 13:17:11 +01:00
Cédric Krier
04ec79e93a
Succeed when save modified is canceled on unique new record
...
The reload does not set any current record so we can not compare ids.
issue9936
review314991002
2020-12-23 21:26:32 +01:00
Cédric Krier
97ec32b147
Add support for Python 3.9
...
issue9685
2020-12-19 17:08:47 +01:00
Cédric Krier
2c8947da0b
Save modified record before sending email
...
issue9879
review331381017
2020-12-18 00:25:57 +01:00
Cédric Krier
81ad531e99
Support empty value for timedelta converter
...
issue5092
review316481002
2020-12-18 00:21:38 +01:00
Cédric Krier
573ce31534
Document timedelta widget
...
issue9844
review312921002
2020-12-18 00:13:16 +01:00
Cédric Krier
04e067a1c2
Add interactive search on tree view
...
It uses a simple search by word on all visible cell of each row.
The standard GTK shortcut is <CTRL>+F, the search box shortcut is updated to
<CTRL>+<Shift>+F.
issue4511
review320371002
2020-12-17 00:22:19 +01:00
David Harper
2ef5641c96
Test long_description using twine check
...
issue9781
review337181002
2020-12-15 11:42:57 +00:00
Cédric Krier
aa8c35bf59
Manage local version in tox and do not set local_version when no CI
...
issue9928
2020-12-11 13:51:54 +01:00
Cédric Krier
0a7250147e
Add support for local_version on trydevpi.tryton.org
...
issue9928
2020-12-10 23:05:58 +01:00
Cédric Krier
8225a4d511
Return false when modified is not saved and not created
...
The return of modified_save method is used to decide to execute an action or
not. When a new record is cancelled, the client select the previous record so
we must not run the action on this one.
issue9881
review337111002
2020-12-04 18:37:36 +01:00
Cédric Krier
27de98ddec
Unify PYSON string format between all clients
...
issue9723
review328481002
2020-11-15 18:50:47 +01:00
Cédric Krier
433eb21466
Pass record and field instead of path to event callback
...
The path may no more be valid when the callback is triggered.
issue9490
review328571002
2020-11-11 20:31:17 +01:00
Cédric Krier
0ca723b197
Add HarfBuzz to gi namespaces required
...
issue9790
review318711002
2020-11-04 12:52:51 +01:00
Cédric Krier
daae98117b
Increase version number
2020-11-02 15:39:30 +01:00
Cédric Krier
c968244674
Add tag 5.8.0 [skip ci]
2020-11-02 15:39:15 +01:00
Cédric Krier
c1ddd24d48
Prepare release 5.8.0 [skip ci]
2020-11-02 15:39:15 +01:00
Nicolas Évrard
7e012dadce
Skip destroyed records when fetching data from the server
...
issue9669
review294631002
2020-10-30 19:01:11 +01:00
Nicolas Évrard
dc923b0fd3
Skip set_cursor when the listbox is not realized
...
issue9653
review304351002
2020-10-29 15:07:45 +01:00
Maxime Richez
52908db9f1
Set invisible state when rendering Symbol
...
Without initial state, cell is displaying symbol even when empty.
issue9717
2020-10-29 00:04:07 +01:00
Cédric Krier
9e9afa4c5c
Store record and field instead of path when editing is started
...
The path can not more be valid or pointing to the proper record if the
treeview model is modified during the edition.
issue9765
review294841002
2020-10-28 23:59:06 +01:00
Cédric Krier
555ee3088d
Mark as modified when default is a list of ids
...
Otherwise they are not sent to the server because only modified record are
sent since issue6754.
issue9479
review308441002
2020-10-28 23:56:28 +01:00
Cédric Krier
9e0d14845e
Do not rely on current record from screen
...
If the current record is removed, the attribute is set to None by
cancel_current.
issue9298
review314651002
2020-10-28 00:02:52 +01:00
Cédric Krier
ca4318754d
Catch any exception for server version RPC
...
It is the first method called with the input of the user.
The login window does not support that it raises an exception and as a lot of
different exceptions can be raised (and may change depending of Python
version), we must catch all of them. It does not hide any programming error as
they are logged.
issue9408
review292561004
2020-10-26 21:28:47 +01:00
Cédric Krier
7ce2b36381
Returns only Button instance instead of Gtk.Button
...
The Form.get_buttons must return only the instances created by <button/> and
not the Link which are also Gtk.Button.
issue9714
review318621002
2020-10-26 21:25:47 +01:00
Cédric Krier
9bff058853
Remove support for Python 3.5
...
issue9733
2020-10-24 13:45:13 +02:00
Cédric Krier
35bd931765
Keep record added/modified after cancel from popup window
...
We need to keep the record modified to ensure that it is added to the xxx2Many
on save.
issue9298
review296601002
2020-10-24 13:14:55 +02:00
Cédric Krier
03e5762225
Ensure inserted record has a valid position
...
issue9731
review298881002
2020-10-24 13:12:01 +02:00
Nicolas Évrard
60192ce3e3
PYSON's DateTime defaults to the current time in UTC
...
issue9698
review329211002
2020-10-22 12:11:09 +02:00
Cédric Krier
fb50bc2699
Ensure field is loaded before applying changes
...
For fields like xxx2Many the changed values are operation to apply on the
existing value. So we must be sure to have loaded the value.
issue9730
review308401002
2020-10-21 23:27:41 +02:00
Cédric Krier
4c65e57063
Use editable path to update editable on display
...
The current record is not necessary linked to the editable. For example when a
new record is added, the current record is changed before the editing is done.
Also the CellRendererCombo does not emit remove-widget when focus is changed
which prevent to clear the editable variables.
issue9618
issue9266
review314471002
2020-10-21 23:21:26 +02:00
Cédric Krier
df49583552
Reset screen order only when it is below a parent
...
Otherwise the default order from the action is lost when the screen is
instantiated.
issue9692
review302281002
2020-10-18 15:58:43 +02:00
Cédric Krier
c5c7a48a86
Ignore flake8 E741
2020-10-16 19:19:59 +02:00
Cédric Krier
e0c01e886c
Support timedelta in CSV import/export
...
issue9220
review297531002
2020-10-11 19:04:16 +02:00
Cédric Krier
857cfd8f45
Count only for current tab on save, delete and duplicate
...
issue9591
review298541002
2020-10-11 16:10:38 +02:00
Cédric Krier
449b6b2b4c
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:06 +02:00