Cédric Krier
abfee0de15
Block row selected handler when unselect all of list-form
...
aa8eb78f1b75 and d0c1933ce509 blocked the wrong method before calling
unselect_all.
Closes #12451
2023-09-24 21:09:34 +02:00
Nicolas Évrard
3d204e96ce
Stop the edition of Selection fields in editable Treeviews on focus-out
...
Closes #12308
2023-06-05 19:09:46 +02:00
Cédric Krier
edbc6f1eb4
Always show entry of URL widget in form
...
This allows to copy the URL without opening it even if it is readonly.
Closes #1340
2023-08-18 20:46:02 +02:00
Cédric Krier
684c8c9444
Use more meaningful label for buttons on window form
...
The label of each button depends on its behavior defined by the configuration.
It is implies that all buttons close the dialog so it is omitted.
Closes #12369
Closes #12372
2023-08-31 12:27:08 +02:00
Cédric Krier
a72acf0402
Do not use save button for readonly screen
...
Even if save_current is set, a readonly screen is never saved on response.
Closes #12538
2023-08-30 15:50:30 +02:00
Cédric Krier
b90baa9fac
Do not set automatically as value the unique record found
...
As search is fuzzy (done with ilike) we need to ensure that the user validate
the value by selecting it.
Closes #11840
2023-07-03 22:52:19 +02:00
Cédric Krier
208ac87281
Add support for scanning code
2023-07-04 17:50:50 +02:00
Cédric Krier
bc5a28a50c
Use _changed_values to return result of on_change_with
...
This allows to support add/update/remove/delete for xxx2many fields and
rec_name for xxx2one and reference fields.
Closes #12473
2023-08-16 16:11:51 +02:00
Cédric Krier
fe66322ab1
Use on_change_result for on_change call
...
The ModelView.on_change method returns directly the changed values instead of
a list with the changed values.
2023-08-16 09:37:26 +02:00
Cédric Krier
310d8d1daf
Set visibility of active button when screen is displayed
...
Setting it on the domain parser property does not ensure that it is always set
if the parser has been cached or the context screen is not valid.
Also it is not right that accessing a property trigger a change of state.
As the button visibility can change between views, the active domain must only
be added if the button is currently visible.
Closes #12549
2023-09-04 18:32:52 +02:00
Cédric Krier
6a06579e13
Use Sphinx book theme for documentation
2023-09-01 09:44:09 +02:00
Cédric Krier
030dce36ac
Remove biginteger widget from tryton and sao
...
Since 73fe133d7a2c trytond does not have anymore a biginteger type.
2023-08-18 20:50:15 +02:00
EdbO
0e203ba32a
Add a warning in documentation for desktop client when switching to SSL/TLS
...
Make it clear that the host must not exists in the `know_hosts` file and
that the right CA certificate must be in `ca_certs`
Closes #12446
2023-08-03 11:43:21 +02:00
Cédric Krier
de1386328b
Update style for flake8 6.1.0
...
Closes #12475
2023-08-16 11:49:30 +02:00
Nicolas Évrard
71e9eb854e
Reset search offset when domain has changed
2023-08-14 22:33:15 +02:00
Nicolas Évrard
82ae036d3a
Add a canonicalize function for domains
2023-08-14 22:32:14 +02:00
Cédric Krier
b7e30235fd
Round and convert numeric value after applying factor
...
Closes #12381
2023-07-29 16:21:33 +02:00
Cédric Krier
adc26533da
Add .readthedocs.yaml configuration [skip ci]
...
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/
Closes #12344
2023-08-06 11:06:08 +02:00
EdbO
873a52f239
Cache the url for authentication service
...
When starting the desktop client you can select a profile. And by doing
that, the client sends a request to fetch the authentication services.
The data of the request is then cached but the url is not so the client
forget about it. Because of the cached data, when selecting a particular
profile data is taken from the cache but the url is not updated leaving
it unchanged and empty or with a url from last request.
Closes #12440
2023-08-03 16:38:32 +02:00
Cédric Krier
6c9f4422d4
Do not catch error in get_textual_value of Reference widget
...
Closes #12400
2023-07-13 15:47:10 +02:00
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