Commit Graph
415 Commits
Author SHA1 Message Date
Cédric Krier ec5fe27162 Save the record when checkbox is clicked on editable tree view
Since 53ff6c9d8393 checkbox can be toggled even if the record is not the
currently selected record.
When the changed record is not the currently edited record, it must be saved as
editable tree handler will not save it.

Closes #14642
(grafted from d4f63406e1fa8f07f6b98cd81fa54702c601f7ad)

--HG--
branch : 7.0
2026-04-09 17:28:37 +02:00
Cédric Krier 58bb60c7c8 Return promise from save function on Tab
Closes #14604
(grafted from 73ea444090ef1548d74b45aece962525eb72daa1)

--HG--
branch : 7.0
2026-04-09 15:54:06 +02:00
Cédric Krier 938e00e152 Increase version number
--HG--
branch : 7.0
2026-04-16 23:03:02 +02:00
Cédric Krier 0656f44053 Prepare release sao-7.0.48
--HG--
branch : 7.0
2026-04-16 23:02:54 +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
Nicolas Évrard 83ca704620 Remove the implicit undefined return when computing the fields to update
Closes #14751
(grafted from 0c5f6bfcd70da379ffea74f44ceaa84ccc97f103)

--HG--
branch : 7.0
2026-04-07 18:54:39 +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
Nicolas Évrard c5fad2ceab Reset the session login when cancelling the password challenge
Closes #14687
(grafted from 457504232b31685ffd7d6380f6b22568c35629b3)

--HG--
branch : 7.0
2026-03-17 17:45:22 +01:00
Cédric Krier f625133f64 Increase version number
--HG--
branch : 7.0
2026-03-18 23:40:23 +01:00
Cédric Krier bba8c5544c Prepare release sao-7.0.47
--HG--
branch : 7.0
2026-03-18 23:40:16 +01:00
Adrià Tarroja Caubet 1f02897159 Normalize Sao language codes to BCP 47 format
Normalize lang and locale values to use BCP 47 tags.

Closes #14653
(grafted from 54e6fe77b5e2155ff05dc7d4372dbaea7ccb8f61)

--HG--
branch : 7.0
2026-03-05 17:26:35 +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 c053898d76 Increase version number
--HG--
branch : 7.0
2026-03-02 22:03:47 +01:00
Cédric Krier 90df45e1c4 Prepare release sao-7.0.46
--HG--
branch : 7.0
2026-03-02 22:03:40 +01:00
Cédric Krier 3de53c8489 Fix order and z-index of backdrop for stacked modal
Closes #14588
(grafted from 8646addd9393e463e250a0a29cdd8f06b7b77ca7)

--HG--
branch : 7.0
2026-02-06 19:00:24 +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 8804f7e574 Increase version number
--HG--
branch : 7.0
2026-02-18 18:58:04 +01:00
Cédric Krier 5994c74812 Prepare release sao-7.0.45
--HG--
branch : 7.0
2026-02-18 18:57:57 +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 efaa8bfc56 Scroll element in to view using center and for all the scrollable ancestors
Closes #14527
(grafted from accca4565e9092605e19afdb22d1bed33d1edab2)

--HG--
branch : 7.0
2026-01-20 18:43:53 +01:00
Cédric Krier e205645869 Increase version number
--HG--
branch : 7.0
2026-02-01 11:05:27 +01:00
Cédric Krier 48df314297 Prepare release sao-7.0.44
--HG--
branch : 7.0
2026-02-01 11:05:21 +01:00
Cédric Krier 5f313e2fbe Load icon field before rendering affix
Closes #14509
(grafted from 3d658b7f3aaaa3cb707466d09fce3a6895e8963f)

--HG--
branch : 7.0
2026-01-16 13:16:50 +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 1c540e5972 Increase version number
--HG--
branch : 7.0
2026-01-15 21:58:49 +01:00
Cédric Krier b0b5e442d7 Prepare release sao-7.0.43
--HG--
branch : 7.0
2026-01-15 21:58:42 +01:00
Cédric Krier abe33cd900 Prevent default event when clicking on Many2One link from a tree view
If the event is not prevented, the URL is cleared if there is already a tab for
the resource because the tab show event update the URL before the execution of
the default event.

Closes #14453
(grafted from 4f4137559b00b9f377a0f6f0c918e292297a8950)

--HG--
branch : 7.0
2025-12-29 15:50:58 +01:00
Cédric Krier a64cf2105d Increase version number
--HG--
branch : 7.0
2025-12-20 21:16:38 +01:00
Cédric Krier 2c12c3690c Prepare release sao-7.0.42
--HG--
branch : 7.0
2025-12-20 21:16:32 +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 22f0798d6f Increase version number
--HG--
branch : 7.0
2025-12-17 19:25:54 +01:00
Cédric Krier e80e11d415 Prepare release sao-7.0.41
--HG--
branch : 7.0
2025-12-17 19:25:48 +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 3fb3f840c9 Limit editable tree click event to the tab
This permits the navigation between tabs.

Closes #14393
(grafted from 9fe27176548921f8d056f006940256a68472ef42)

--HG--
branch : 7.0
2025-11-26 21:34:50 +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
Cédric Krier 8a7992ac9a Increase version number
--HG--
branch : 7.0
2025-11-21 01:20:55 +01:00
Cédric Krier 92d3851c3a Prepare release sao-7.0.40
--HG--
branch : 7.0
2025-11-21 01:20:49 +01:00
Cédric Krier 22f15e20bb Escape completion content with custom format
Closes #14363
(grafted from cd3931840db95bf96064b7f4f44f068f78df3c76)

--HG--
branch : 7.0
2025-11-20 17:03:46 +01:00
Cédric Krier db854e9ee2 Force reload on save of record
07831c6eddaf implemented the default value as `false` but in tryton it has
always been `True` since b8658ba902a5.
Some save calls relies on the record being reloaded like in the editable tree
when selecting another row.
This synchronise the behavior of all save calls between tryton and sao.

Closes #14345
(grafted from 1c20b8ef85a418d3c00e1495deb203317b4355c1)

--HG--
branch : 7.0
2025-11-03 11:16:05 +01:00
Nicolas Évrard 22d237710e Use the local context when launching a graph_open action
Using the local context allow us to access the context of the field shown by
the graph when the graph shows a One2Many field.

Closes #14341
(grafted from f186b83936dbde32aca06b3a329bf519df2c8232)

--HG--
branch : 7.0
2025-10-31 18:04:31 +01:00
Nicolas Évrard 9721118711 Return the data name as the action key when launching the graph_open action
The ids of each record is in fact indexed by the name of the label in a pie
chart

Closes #14340
(grafted from b69cd826844dd5625eafd75e15d06db5b1300427)

--HG--
branch : 7.0
2025-10-31 18:02:26 +01:00
Cédric Krier 53b16904d4 Use the view_ids attribute to open the Many2One target from tree view
Closes #14327
(grafted from 34ffdbb7306e9d8158a91e056b0e06fe17b63091)

--HG--
branch : 7.0
2025-10-28 17:17:31 +01:00
Cédric Krier 7197fabe39 Increase version number
--HG--
branch : 7.0
2025-11-02 17:38:48 +01:00
Cédric Krier 1f93635c9e Prepare release sao-7.0.39
--HG--
branch : 7.0
2025-11-02 17:38:41 +01:00
Nicolas Évrard df27881761 Find new key names using the definition from the dict widget's field
Closes #14323
(grafted from 488a1008680c71a0b8a6ec71797ae6f74338f3ab)

--HG--
branch : 7.0
2025-05-22 18:24:57 +02:00
Nicolas Évrard c75fdc144e Skip the validation of the parent field of group
This is required because it can happen that a x2M field will have some records
set through an on_change but if the x2M is not linked to a screen then
exclude_field won't be set.

Closes #14283
(grafted from 1e7411d1bf84cdf75359e1ce9c5f4943fc50ad23)

--HG--
branch : 7.0
2025-10-09 18:50:07 +02:00