Commit Graph
3910 Commits
Author SHA1 Message Date
Cédric Krier 6e00b16eb5 Do not dumps/loads context domain in URL
The context domain must be evaluated only by the screen when doing a domain
search.

Closes #14921
(grafted from dbad6143d6d085b448b71e446b546e488d45cf55)

--HG--
branch : 7.0
2026-07-08 15:03:35 +02:00
Cédric Krier 0bcdff09a5 Include context domain in URL and tab comparison
Closes #14921
(grafted from 0a37d816a7162d9aadb63ec68f63acf85c938e50)

--HG--
branch : 7.0
2026-07-01 13:16:19 +02:00
Cédric Krier 9925836857 Increase version number
--HG--
branch : 7.0
2026-07-01 22:40:10 +02:00
Cédric Krier 55290fb78e Prepare release tryton-7.0.41
--HG--
branch : 7.0
2026-07-01 22:40:00 +02:00
Cédric Krier acc0d47661 Restore initial state when the execution of a wizard fails
Since 1aad63cbbba7 there is a check that the button from a wizard are triggered
from the same state as they were created.
But when an exception is raised during the execution, the wizard must be put
back to the initial state such that buttons can still be triggered again.

Closes #14895
(grafted from 0eddec418366403871755be8ba3b750a9c0fcdf4)

--HG--
branch : 7.0
2026-06-16 13:41:49 +02:00
Cédric Krier b0984312a0 Increase version number
--HG--
branch : 7.0
2026-06-18 21:32:19 +02:00
Cédric Krier 2b2892bc16 Prepare release tryton-7.0.40
--HG--
branch : 7.0
2026-06-18 21:32:03 +02:00
Cédric Krier f1634b2609 Sort selection strings without key function
The selection is a list of string so we can sort as-is.

Closes #14883
(grafted from 2d7c2466ae0eda5dc670cc8fd2ee5b386fb704ab)

--HG--
branch : 7.0
2026-06-08 16:19:50 +02:00
Adrià Tarroja Caubet f3fd9e5c65 Use current record context when rendering email templates
Pass the current record context from the email dialog when fetching
template values and defaults. This keeps context-dependent models,
including table_query records, addressable after the user changes the
context.

Closes #14565
(grafted from 868b0e31fbdecc0e04b2cb1c894829c5eba19fa4)

--HG--
branch : 7.0
2026-06-06 11:47:25 +02:00
Cédric Krier 49b6e94e94 Increase version number
--HG--
branch : 7.0
2026-06-02 18:52:00 +02:00
Cédric Krier 99154ac4b1 Prepare release tryton-7.0.39
--HG--
branch : 7.0
2026-06-02 18:51:48 +02:00
Nicolas Évrard 92c2669764 Parse equality to a date as two clauses when handling datetime fields
Closes #14778
(grafted from 6952308a8b6b65ff583a2b04d9cd558b44c4e4a9)

--HG--
branch : 7.0
2026-04-14 18:29:42 +02:00
Cédric Krier 25b4b41336 Increase version number
--HG--
branch : 7.0
2026-05-20 23:24:47 +02:00
Cédric Krier 20e7dad98d Prepare release tryton-7.0.38
--HG--
branch : 7.0
2026-05-20 23:24:35 +02:00
Nicolas Évrard 3e47deec0f Use a list of selection values to enable sorting in the filter window
Closes #14785
(grafted from 1b717a68570559857d7a6677f2010a39aab467a9)

--HG--
branch : 7.0
2026-04-20 10:41:45 +02:00
Cédric Krier 5af837351a Do not add empty extension when slugify filename
Closes #14823
(grafted from 143883125d7e98b0fcdc300b54886d735c228fe9)

--HG--
branch : 7.0
2026-05-07 13:34:06 +02:00
Cédric Krier c3081f329f Increase version number
--HG--
branch : 7.0
2026-05-02 13:56:19 +02:00
Cédric Krier d4bfbcdd8f Prepare release tryton-7.0.37
--HG--
branch : 7.0
2026-05-02 13:56:08 +02:00
Cédric Krier 3a80b3b334 Only set the value on the current view of One2Many when the form set values
If the current view is a form view, we need to ensure that the values are
actually set for all the widgets.
(grafted from c91abeb5bcc1bcb4d8c7c96b610fb142637661aa)

--HG--
branch : 7.0
2026-04-16 22:48:34 +02:00
Cédric Krier cf384a9632 Increase version number
--HG--
branch : 7.0
2026-04-16 22:58:56 +02:00
Cédric Krier 3673465416 Prepare release tryton-7.0.36
--HG--
branch : 7.0
2026-04-16 22:58:45 +02:00
Cédric Krier 633381a155 Always remove spaces when converting value to number in domain parser
Closes #14753
(grafted from 7c1f80fc2322fc6c47fc61990f3c7f64e9e86147)

--HG--
branch : 7.0
2026-04-08 14:31:55 +02:00
Cédric Krier 7db550a061 Refresh resources when reloading record of form view
As the record is only cancelled and not recreated, the cached resources are
kept so they must be refreshed.

Closes #14733
(grafted from 89e59ce6f450c83d59c7f83313c0bad59b58ff04)

--HG--
branch : 7.0
2026-04-02 10:26:27 +02:00
Nicolas Évrard bed8e52f52 Honor the sort parameter of Selection fields in the filter box
Closes #14731
(grafted from 05e1fff8ebc50c71316a1960df0d9181a4afde92)

--HG--
branch : 7.0
2026-04-01 18:24:35 +02:00
Cédric Krier 5ebb5c11c1 Preserve the filter text when executing the reload client action
Closes #14699
(grafted from df2a9f9c4b5411889c07ffaf99d58575e95fe916)

--HG--
branch : 7.0
2026-03-20 19:19:15 +01:00
Cédric Krier af9450d78e Do not fail on calculating max ID when setting sequence on empty group
Since 9fdf4dbd66f2 set_sequence calculates the maximum ID but it may be called
with only 0 if the group is empty.

Closes #14689
(grafted from 70eee4cb081a58572fe9b3a4890bac387c2d3e53)

--HG--
branch : 7.0
2026-03-18 13:15:43 +01:00
Cédric Krier 1782082878 Increase version number
--HG--
branch : 7.0
2026-03-18 23:34:08 +01:00
Cédric Krier 3d2a90515c Prepare release tryton-7.0.35
--HG--
branch : 7.0
2026-03-18 23:33:57 +01:00
Cédric Krier c647666536 Limit digit to positive integer when formatting float in domain parser
Closes #14557
(grafted from 319126552d56ef1dd8a03e457071df0d40d0607e)

--HG--
branch : 7.0
2026-02-28 12:57:24 +01:00
Cédric Krier 53d8aa2e13 Increase version number
--HG--
branch : 7.0
2026-03-02 21:56:38 +01:00
Cédric Krier d9a252d1c1 Prepare release tryton-7.0.34
--HG--
branch : 7.0
2026-03-02 21:56:27 +01:00
Cédric Krier 4e848eb73c Use gui base when building with cx_Freeze
Since cx_Freeze>=7.0, 'Win32GUI' value for base is no more supported.

Closes #14606
(grafted from 8d0759bc0e9a1f3caada64baf51ea67b84e7fca4)

--HG--
branch : 7.0
2026-02-14 09:49:11 +01:00
Cédric Krier 5c3be297b9 Switch the view when user cancel the new record
Closes #14583
(grafted from 86b3db529010f8fa36dfee4949f160f77298efc3)

--HG--
branch : 7.0
2026-02-05 18:21:05 +01:00
Cédric Krier 6eff01b06a Set revision context before clearing the screen
This prevents the clear method (which set the current record to null) to update
the URL with the old revision and thus opens a new tab.

Closes #14577
(grafted from 804f498790430d3fd89a274d5e261fb80b0c5520)

--HG--
branch : 7.0
2026-02-04 15:26:34 +01:00
Cédric Krier cff34cfd33 Increase version number
--HG--
branch : 7.0
2026-02-18 18:42:18 +01:00
Cédric Krier f3f7d3381a Prepare release tryton-7.0.33
--HG--
branch : 7.0
2026-02-18 18:42:07 +01:00
Cédric Krier 8acfbc2560 Do not include removed records in the search domain of One2Many
Adding an OR-ed clause prevents the domain inversion to set any unique values
when creating a record from the search window.
The removed records can be re-add with the undelete button instead.

Closes #14540
(grafted from 4a30450c54bd6d75614fa1cfffeb7498a669cbcf)

--HG--
branch : 7.0
2026-01-23 09:57:31 +01:00
Cédric Krier cc663f4f29 Increase version number
--HG--
branch : 7.0
2026-02-01 11:02:23 +01:00
Cédric Krier 5e4b9d5367 Prepare release tryton-7.0.32
--HG--
branch : 7.0
2026-02-01 11:02:10 +01:00
Cédric Krier 1d8dd39fea Do not compare records order with negative id
Closes #14508
(grafted from 9fdf4dbd66f2f603d73268f1a4048849e3e19854)

--HG--
branch : 7.0
2026-01-16 12:11:35 +01:00
Cédric Krier 38c89e6fea Fix tryton config file copied from previous version
Closes #14088
(grafted from 7f9a708be76b231dc4c520dd77cd81f50e2b4868)

--HG--
branch : 7.0
2026-01-10 19:09:58 +01:00
Cédric Krier 7d6c1197fe Increase version number
--HG--
branch : 7.0
2025-12-20 21:12:24 +01:00
Cédric Krier d5c3a34226 Prepare release tryton-7.0.31
--HG--
branch : 7.0
2025-12-20 21:12:14 +01:00
Cédric Krier 5f58dc0d73 Set toolbar button sensitiveness based on record id instead of position
(grafted from 2d8bed1160c9595b7ff2eb3f26114e8d6e7ea02f)

--HG--
branch : 7.0
2025-12-18 00:39:38 +01:00
Cédric Krier a090c183bf Increase version number
--HG--
branch : 7.0
2025-12-17 19:15:03 +01:00
Cédric Krier 3fdc945f16 Prepare release tryton-7.0.30
--HG--
branch : 7.0
2025-12-17 19:14:54 +01:00
Cédric Krier e62e7d92c5 Fix domain parser for Reference field when there is no value but a target
Closes #14413
(grafted from 332b8107a181f3c14e0e3c39eed393bab0cc619b)

--HG--
branch : 7.0
2025-12-14 20:18:25 +01:00
Cédric Krier 15c9e27dd1 Make icon badge independent of the view box of the SVG
(grafted from 7173c77acabbd6f8d9af4412d20b18d701e591dd)

--HG--
branch : 7.0
2025-12-02 13:39:07 +01:00
Nicolas Évrard 7234ab36af Use the form part of view_ids when opening a Many2One in a new tab
Closes #14391
(grafted from e4480cb7619e46c879eb3534560d15e1c68e2fbc)

--HG--
branch : 7.0
2025-11-26 16:41:20 +01:00
Cédric Krier 05b4551799 Do not sum digits for widget width when some parts are unknown
Closes #14384
(grafted from cd8a0670dd5c6274062e92a40a39509105c800ec)

--HG--
branch : 7.0
2025-11-27 01:14:59 +01:00