5974 Commits
Author SHA1 Message Date
José Arturo García 9faa1dd9b5 feat(i18n): add standalone Dominican Spanish catalogs 2026-10-13 20:14:45 -04:00
Cédric Krier 60c5684c27 Increase version number
--HG--
branch : 8.2
2026-10-06 01:54:52 +02:00
Cédric Krier e011222dc3 Prepare release 8.2.0 2026-10-06 00:56:37 +02:00
Cédric Krier c17e032cb3 Update translations [skip ci] 2026-10-05 23:51:09 +02:00
Cédric Krier 197a988ef1 Ensure readonly fields are copied with the default value
Since 6c611c520744, the readonly of field is enforced so the copied value of
readonly field must be the default value to skip the check.
2026-10-05 23:21:28 +02:00
Cédric Krier 275cf3aadc Allow to create any action from the UI
The action field must not be used to create the main action and the inherited
fields from the parent action must not be set a second time.

Closes #15149
2026-10-05 18:21:13 +02:00
Cédric Krier d8aa48dbf0 Catch all SubprocessError and OSError when converting report
The subprocess run may raises one of those exceptions.

Closes #15141
2026-10-02 23:00:51 +02:00
Cédric Krier 49659590a8 Do not set note nor notification as readonly if id is 0
Closes #15130
2026-09-30 09:37:51 +02:00
Cédric Krier 3042288aa9 Make type and action fields readonly only after creation
The user needs to be allowed to set those fields when creating or copying an
action.
2026-09-30 09:35:55 +02:00
Cédric Krier 86c51cd9da Do not make buttons read-only based on groups for administrator users
Since 6ebedcf8826e administrators no longer have groups, disabling buttons
based on groups should be skipped for administrators.

Closes #15134
2026-10-01 12:29:05 +02:00
Cédric Krier 2f88ea7830 Escape arguments of report convert command
Closes #15035
2026-09-30 09:34:18 +02:00
Cédric Krier c2478a5626 Escape title and text when rendering HTML editor
Closes #15032
2026-09-30 09:39:21 +02:00
Cédric Krier 9209b77b50 Do not search for device without cookie
The cookie is required so we already known that the result will be empty.
2026-09-23 12:11:17 +02:00
Cédric Krier 6db09c8d41 Remove unnecessary readonly on device cookie
It does not inherit from ModelView so it can only be accessed from the server
which makes the readonly useless.
2026-09-23 12:10:32 +02:00
Cédric Krier 9e3d8a79e1 Do not enforce check access when renewing device cookie
Closes #15118
2026-09-23 12:08:23 +02:00
Nicolas Évrard 174ea46d73 Lock the whole manipulation of the instance __dict__ when accessing attributes
Previously the lock was too fine grained and missed some concurrent access that
could result in AttributeError. We implement a slightly changed double-checked
locking technique to ensure a fast path when the initialization already
occured.

Closes #15122
2026-09-24 14:55:59 +02:00
Cédric Krier fb833c3252 Register opportunity report as report in tutorial 2026-09-28 18:10:16 +02:00
Lars Wuerfel a613386b47 Update wizard tutorial to use tryton.cfg to register model
Closes #15089
2026-09-28 18:07:34 +02:00
Cédric Krier b977d880ce Copy the field used for Function field
Closes #15079
2026-09-10 08:11:03 +02:00
Cédric Krier 79cdce9dda Execute the lock_id when computing the running values of cron
Closes #15078
2026-09-09 18:55:29 +02:00
Cédric Krier 84dc3f95cf Requires at least version 3.2 of psycopg
get_notifications uses the timeout parameter which was added only in version
3.2

Closes #15103
2026-09-16 14:37:43 +02:00
Adrià Tarroja Caubet bada63ef4b Allow trytond-admin to manage any user
Closes #13630
2026-09-22 18:32:04 +02:00
Cédric Krier 1bc165be5e Set timeout to 0 when receiving PostgreSQL notifications
There is no need to wait 2 seconds for more notifications as we call
get_notifications only when the selector is triggered.

Closes #15102
2026-09-16 14:35:33 +02:00
Cédric Krier 6b95e56a70 Remove unnecessary assert on _defaults
By design the _defaults can always contain only field name from _fields.
2026-09-10 08:13:03 +02:00
Cédric Krier b94883b9be Save imported translations only if they are modified
Closes #15071
2026-09-08 10:05:31 +02:00
Cédric Krier 07a2e268c6 Use bulk context manager
Closes #11750
2026-07-15 09:31:05 +02:00
Cédric Krier f32aef30d0 Add bulk_create, bulk_delete, bulk_save and bulk_func to ModelStorage 2026-07-15 09:31:21 +02:00
Cédric Krier bc8def47b0 Enforce the type of login parameters
As they are received from a non authenticated entrypoint, we must ensure their
types.
2026-09-02 12:19:42 +02:00
Cédric Krier 53a97c277d Check if the user argument is a string on login and reset password
Those entrypoints do not require authentication so we must enforce explicitly
the type of argument.

Closes #15048
2026-09-02 12:18:08 +02:00
Cédric Krier 56e1a24be4 Distinct readonly and editable states 2026-08-31 23:21:03 +02:00
Cédric Krier e711ce7cb0 Add editable state on field 2026-08-31 13:45:03 +02:00
Cédric Krier 422c99bd7b Do not enforce access rights when performing action on delete
Closes #15050
2026-08-31 13:43:41 +02:00
Cédric Krier 86e3da9b96 Enforce readonly on field when checking access
Closes #4207
2026-09-19 08:09:17 +02:00
Nicolas Évrard 8c64c300e6 Support getting and setting tree widths without a screen width
Closes #15099
2026-09-18 23:52:09 +02:00
Nicolas Évrard 89b50e2459 Add an optional icon to the login services
Closes #14915
2026-09-18 13:30:12 +02:00
Cédric Krier 6792138df4 Override contextual groups and administrator when evaluating button states
Closes #15098
2026-09-15 15:23:42 +02:00
Cédric Krier c55bdeed26 Add routes for sao custom in base route
Closes #13927
2026-09-08 09:58:42 +02:00
Nicolas Évrard 6fafcaca82 Use the default search implementation on ResourceAccessMixin
The access to search is now guarded by a method allowing only administrator to
access it.

Closes #14817
2026-09-11 17:53:07 +02:00
Nicolas Évrard 305301a53e Replace the administration group by a flag on the user 2026-09-13 17:28:32 +02:00
Nicolas Évrard 1e778036ce Remove password column from res_user in initialization SQL script 2026-07-24 14:15:03 +02:00
Cédric Krier d3934d3473 Make DBTestCase public 2026-09-12 00:31:43 +02:00
Cédric Krier aef6acca76 Store delete rule of column per constraint
If a column is used for different foreign keys with different delete rules, the
foreign key may be recreated if the last rule stored is different.

Closes #15053
2026-09-02 11:43:46 +02:00
Cédric Krier 17ff34984c Test domain from searcher by using it in search call 2026-09-04 08:31:58 +02:00
Cédric Krier ccbfbaeafa Wait until a message is received when testing subscription of bus
Closes #15065
2026-09-04 11:53:57 +02:00
Cédric Krier f604a31f14 Test the existence of the request context key before using it for URL
Closes #15046
2026-08-27 15:56:47 +02:00
Nicolas ÉvrardandCédric Krier 77cf224b2f Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Cédric Krier <ced@b2ck.com>
2026-09-03 11:52:08 +00:00
Nicolas Évrard c2b3d6cc66 Check the existence of a getter before adding it to a field depends
Closes #15055
2026-09-03 12:24:29 +02:00
Cédric Krier e36f2bb56d Raise BadRequest when accessing rpc properties from non RPC request
This avoids to generate a useless exception logging entry.

Closes #15039
2026-08-25 11:15:16 +02:00
Nicolas Évrard 14de445672 Remove useless XML file from tests module 2026-02-24 22:38:23 +01:00
Nicolas Évrard 4e3ac1e465 Remove unrequired XML files from tests module registration 2026-02-24 22:37:16 +01:00