Cédric Krier
a538687b8d
Show in shortcut help dialog the copy/paste shortcuts for tree view
2023-07-13 15:48:41 +02:00
Cédric Krier
5020fc60e7
Create screen with the mode from the action views
...
d800175396c4 changed the parameter name into view_mode instead of mode.
Closes #12332
2023-06-18 17:42:36 +02:00
Cédric Krier
041a3fb9b2
Support PYSON comparison of timedelta
...
Closes #10727
2023-06-15 17:06:13 +02:00
Cédric Krier
d7aaac6740
Support encoding timedelta into PYSON TimeDelta
...
Closes #10727
2023-06-15 13:57:15 +02:00
Cédric Krier
865f5d4caf
Call load method on record to retrieve binary value for binary widget in list
...
The call to fetch was introduced in 61900bf04dfb but the method does not
exist.
Closes #12392
2023-07-12 15:13:32 +02:00
Cédric Krier
35f2bcd09f
Expose show and hide methods as to be implemented for NoModal
2023-07-03 19:53:12 +02:00
Cédric Krier
e7c7019d6e
Add missing show and hide method to email no modal windows
...
Closes #12368
2023-07-03 19:52:15 +02:00
Nicolas Évrard
e445dac393
Transfer configuration, profiles and plugins from previous version
...
Closes #11016
2023-02-28 16:37:15 +01:00
Nicolas Évrard
e77efcc885
Do not reset view when switching to a tabbed wizard form
...
Closes #12317
2023-05-11 15:39:34 +02:00
Nicolas Évrard
75facbaf4d
Do not set previous record in selection changed callback when it is destroyed
...
Closes #12357
2023-06-27 14:59:33 +02:00
Cédric Krier
7ec46a6295
Always disable scroll-event and prevent move-active on readonly time and datetime
...
The time and datetime widgets were missing from 7a55ecca7a59 of #7076
2023-05-30 18:26:16 +02:00
Cédric Krier
27a9c39197
Set value on focus out and changed signal for datetime widget
...
The focus out of child widgets must call focus out method.
And we need to connect to the datetime-changed event as DateTime does not call
the __init__ method of Date.
Closes #12020
2023-05-30 18:15:43 +02:00
Cédric Krier
e76d45a2ff
Eagerly read string value of multiselection fields
...
The changeset 2763339d88d5 implemented the rendering of multiselection from
:string but the record does not read them.
2023-05-10 00:19:57 +02:00
Cédric Krier
b4c18f9d8f
Do not group calls to on_change if they can be cached
...
If the id is not in the depends, then the on_change calls can all be cached.
Closes #12219
2023-04-14 17:19:36 +02:00
Cédric Krier
6092ca035c
Group call to on_change_with for later fields
...
Closes #12218
2023-04-14 17:04:01 +02:00
Cédric Krier
c30868d091
Do not run RPC in thread if thread is disabled
...
Closes #11767
2023-05-05 12:51:06 +02:00
Cédric Krier
9ab2c45e5a
Start RPC thread instead of running it
...
The start method execute the target in another thread when run execute the
target in the current thread.
Closes #12257
2023-05-05 12:50:26 +02:00
Cédric Krier
74bd070241
Use description list to document configuration files
2023-04-21 11:59:48 +02:00
Cédric Krier
ab8a993c85
Use locale timezone to export CSV in locale format
...
Closes #12224
2023-05-07 10:08:24 +02:00
Cédric Krier
63e6036c04
Display sum on column header
...
Closes #8134
2023-04-10 01:34:19 +02:00
Cédric Krier
5335a2022d
Convert sum attribute into boolean
2023-05-06 14:25:22 +02:00
Cédric Krier
54fad3a1c8
Store records selection on export
...
Closes #12179
2023-04-12 17:41:48 +02:00
Cédric Krier
1a11e103bf
Increase version number
2023-05-01 14:11:22 +02:00
Cédric Krier
1901135502
Prepare release 6.8.0
2023-05-01 13:19:11 +02:00
Nicolas Évrard
3e6b8bf54d
Fill the empty spaces when computing alignment while expanded
...
Closes #12141
2023-03-14 10:26:08 +01:00
Cédric Krier
84a2b5e271
Update translations
2023-04-29 10:07:40 +02:00
Cédric Krier
1e8bb12c2d
Do not count header as exported record
...
Closes #12225
2023-04-28 08:43:09 +02:00
Cédric Krier
e444814cf7
Fill keyword arguments using dictionary to launch action
2023-04-12 18:27:55 +02:00
Cédric Krier
9e0ba4502d
Do not set s nor p parameter to export URL if screen has no limit
...
Closes #12212
2023-04-12 18:40:49 +02:00
Cédric Krier
fa2f85adbe
Set limit attribute only if defined in URL
...
Closes #12211
2023-04-12 18:35:52 +02:00
Cédric Krier
2fa03cc26c
Remove timeout source to set watch cursor when RPC is being processed
...
Closes #12132
2023-04-08 17:21:40 +02:00
Cédric Krier
6b1a4a9f27
Do not slugify file extension when selecting file to save or create folder
...
Closes #12152
2023-04-08 16:11:36 +02:00
Cédric Krier
dc7ab1b9f5
Do not fail to set button state if there is no record
...
The readonly attribute of record must only be used if there is actually a
record.
Closes #12189
2023-04-05 18:33:38 +02:00
Nicolas Évrard
23304fc2e0
Handle string value set from domain inversion in MultiSelection fields
...
Closes #12181
2023-04-03 17:02:51 +02:00
Cédric Krier
17bbce3919
Log events for ModelStorage
...
It logs by default:
- the write and delete done directly by the users
- the execution of a button
- the execution of wizard state that has modified the database
- the workflow transition to a new state
2023-02-08 19:03:29 +01:00
Cédric Krier
68fdcb3f90
Add option to disable thread in tryton
...
As shown in #11767 on some platform the Python threading does not work well
with Gtk. So it is good to have the option to disable it at the cost of less
performance.
2023-01-26 18:31:45 +01:00
Cédric Krier
06ea8b0fba
Use threading module instead of low level _thread in tryton
2023-01-26 17:57:42 +01:00
Cédric Krier
276cf8277b
Disable button and action when screen and records are readonly
2023-03-19 01:44:45 +01:00
Cédric Krier
bb0445d52d
Set record as readonly when group is readonly
2023-03-19 01:44:05 +01:00
Cédric Krier
0bff126745
Disable new button when record is modified
...
To simplify the management of the state of button, activate_save is merged
with set_buttons_sensitive.
Closes #8053
2023-03-19 01:20:45 +01:00
Cédric Krier
fe0f0552ed
Remove process_exception argument when calling update_selection
...
The changeset 61900bf04dfb added such argument to caller when it does not
exist on the method definition.
2023-03-24 11:06:22 +01:00
Cédric Krier
5daacd7264
Do not try to load :string value to render textual value for tryton list
...
The changeset 61900bf04dfb added such call when it is not needed and always
fails.
2023-03-18 14:38:41 +01:00
Nicolas Évrard
4dfea2f82c
Catch error when rendering cells in treeviews
...
Closes #11835
2023-03-01 18:21:10 +01:00
Cédric Krier
8c522d3e8e
Switch to the next/previous record instead of page in list view of tryton
...
This harmonizes the behavior of the next/previous buttons in clients.
Closes #7979
2023-02-17 15:20:31 +01:00
Cédric Krier
54630b81dc
Remove unused set_value method from board action
...
Closes #5046
2023-02-20 17:03:50 +01:00
Cédric Krier
5cc5a8f672
Update tox.ini to set py311 and remove py37
2023-03-03 00:17:18 +01:00
Cédric Krier
b16dbdc9c8
Grab focus on icon press
...
It is needed to trigger the focus out event of other widgets and store the
value.
Closes #7868
2023-02-16 22:18:01 +01:00
Nicolas Évrard
039761e061
Remove support for Python 3.7
2023-01-29 20:36:51 +01:00
Nicolas Évrard
777ee10f27
Add support for Python 3.11
2023-01-27 11:02:47 +01:00
Cédric Krier
82b0f2779b
Enforce unique value for invisible field
...
Closes #12034
2023-02-11 18:07:06 +01:00