Commit Graph
635 Commits
Author SHA1 Message Date
Cédric Krier ebd18b5716 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 : 8.0
2026-07-08 15:03:35 +02:00
Cédric Krier 1a1840670d Include context domain in URL and tab comparison
Closes #14921
(grafted from 0a37d816a7162d9aadb63ec68f63acf85c938e50)

--HG--
branch : 8.0
2026-07-01 13:16:19 +02:00
Nicolas Évrard aeac50c908 Find the page in the direct children only
Closes #14918
(grafted from 52faa4f70a4769ec80560b5b9e2b4eec0a94e267)

--HG--
branch : 8.0
2026-06-30 22:03:11 +02:00
Cédric Krier c473dd0326 Increase version number
--HG--
branch : 8.0
2026-07-01 22:40:52 +02:00
Cédric Krier b085481a78 Prepare release sao-8.0.6
--HG--
branch : 8.0
2026-07-01 22:40:28 +02:00
Cédric Krier 1faa31dcf6 Clausify each clause of the parsed domain on date/time equality
Closes #14917
(grafted from 31fa77ee3dba8b633395d383b2d890333bf9aff3)

--HG--
branch : 8.0
2026-06-29 18:06:10 +02:00
Cédric Krier 7398dcfed7 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 : 8.0
2026-06-16 13:41:49 +02:00
Cédric Krier bae7cd50d1 Increase version number
--HG--
branch : 8.0
2026-06-18 21:32:55 +02:00
Cédric Krier ad6a59c062 Prepare release sao-8.0.5
--HG--
branch : 8.0
2026-06-18 21:32:43 +02:00
José Antonio Díaz Miralles 596c9b8153 Sanitize screen.current_record if it is already destroyed
Closes #14827
(grafted from 9cb776c27fda504a91312636371273483f404152)

--HG--
branch : 8.0
2026-05-10 11:44:04 +02:00
Cédric Krier 6f5c3ec71a Remove display on element style when showing element
The `revert` value prevents to inherit from the CSS rules.

Closes #14872
(grafted from 3f16016f4aa9c81572f9c0ef212bffbf9570a8fd)

--HG--
branch : 8.0
2026-06-02 12:24:25 +02:00
Cédric Krier 0421ed1d0a Reset the selection when cursor is set with reset view
The view is reset when a new record is displayed and on editable list or
list-form, we want to have only the current record selected even if the
selection checkbox is checked for all records.

Closes #14858
(grafted from c4c84d6300fc4e02eeb7b731434cdf988cce45bc)

--HG--
branch : 8.0
2026-05-21 17:54:51 +02:00
Cédric Krier cf19c35b42 Make display synchronous when possible
In order to ensure that after the focus out of a field that triggers
on_change's, the view is fully displayed before the set_value call from the
Window.Form response. Otherwise the set_value restore the previous value.

Closes #14853
(grafted from fd5d15e75c92282fcadee930c6b51cb02397bbb6)

--HG--
branch : 8.0
2026-05-20 18:50:58 +02:00
Adrià Tarroja Caubet f75aa3aea3 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 : 8.0
2026-06-06 11:47:25 +02:00
Cédric Krier 174257d1fd Always use the body background for notification menu
On small screen the menu inherits of the navbar background which reduces the
contrast with the item of the menu.

Closes #14855
(grafted from d6e959a65a3f1ec3fb65f96808df61b66bedb4cb)

--HG--
branch : 8.0
2026-05-21 11:05:05 +02:00
Cédric Krier 09fc668ff9 Increase version number
--HG--
branch : 8.0
2026-06-02 18:54:57 +02:00
Cédric Krier 74ed90d0d2 Prepare release sao-8.0.4
--HG--
branch : 8.0
2026-06-02 18:53:05 +02:00
Cédric Krier 1e64288bda Do not save record in editable tree view with parent when checkbox is toggled
The parent record is responsible to save the records which is part of a field.

Closes #14848
(grafted from a20b069dd1699260f029e93ee2e0c306a15fe155)

--HG--
branch : 8.0
2026-05-19 17:33:44 +02:00
Cédric Krier bf5328229e Process response to wizard button only if the state is still the same
The response is asynchronous so when the event is processed the state may have
changed.

Closes #14847
(grafted from 1aad63cbbba72af487eddba703c136c9b8e83060)

--HG--
branch : 8.0
2026-05-19 17:18:34 +02:00
Cédric Krier 83535813b8 Set __processing when processing wizard state
The protection was copied from tryton but it was missing this activation.

Closes #14846
(grafted from 9950ddea3804cb6129707b07728e40c6ec4d06c0)

--HG--
branch : 8.0
2026-05-19 17:13:41 +02:00
Cédric Krier a61a8e013b Return a proper DateTime in UTC for domain parser completion
Closes #14842
(grafted from f394f7c758765361aadc5569d7303ac1a795ca8c)

--HG--
branch : 8.0
2026-05-18 18:28:00 +02:00
Cédric Krier 59c2e7f7b7 Always process 503 and 401 HTTP errors
Closes #14836
(grafted from aa6f099f2b3d4c2b90989240743554dd62500d9b)

--HG--
branch : 8.0
2026-05-18 15:09:24 +02:00
Nicolas Évrard 6a4c1aa5e3 Parse equality to a date as two clauses when handling datetime fields
Closes #14778
(grafted from 6952308a8b6b65ff583a2b04d9cd558b44c4e4a9)

--HG--
branch : 8.0
2026-04-14 18:29:42 +02:00
José Antonio Díaz Miralles 2ff149fde6 Reject O2M validate promise when record validation fails after screen display
Closes #14775
(grafted from 6978c46c77b9133381e18de964ae3886fc87f1e4)

--HG--
branch : 8.0
2026-04-19 13:11:06 +02:00
Nicolas Évrard 8f0fe8de09 Stop the propagation of the click event in buttons from list-form
Closes #14839
(grafted from 29667641dd0685424f2a4bd8a6cd16bf642a7fea)

--HG--
branch : 8.0
2026-05-18 15:57:55 +02:00
Cédric Krier cb9fd1c237 Increase version number
--HG--
branch : 8.0
2026-05-20 23:25:52 +02:00
Cédric Krier 6225da573f Prepare release sao-8.0.3
--HG--
branch : 8.0
2026-05-20 23:25:42 +02:00
Cédric Krier aea78aff43 Add RPC method name as fragment of the URL for session methods
(grafted from 6286497d452bfbb965b9df7341b93c025aab16d7)

--HG--
branch : 8.0
2026-05-06 17:25:44 +02:00
Cédric Krier 9a2a0fc27d Add rpc suffix to reset password procedure
Closes #14820
(grafted from ec8e69a3eb6b1934eb6270351fed3ce2862bca19)

--HG--
branch : 8.0
2026-05-06 17:24:23 +02:00
Cédric Krier abaf45e1f6 Flip expander and icons for RTL language
Closes #14810
(grafted from 4fea86cbae6a7d279d3e113177f2711634f5926d)

--HG--
branch : 8.0
2026-04-24 16:16:27 +02:00
Cédric Krier f8a7802beb Increase version number
--HG--
branch : 8.0
2026-05-02 13:57:17 +02:00
Cédric Krier 92c1a3dda0 Prepare release sao-8.0.2
--HG--
branch : 8.0
2026-05-02 13:56:39 +02:00
Cédric Krier 4f817c1b42 Always put form input inside an input-group to position accesskey
And invert left/right position on RTL.

Closes #14809
(grafted from 7543e85afb49d4663800edf1004de4ec34bbb759)

--HG--
branch : 8.0
2026-04-24 16:14:05 +02:00
Cédric Krier 914ec18fff Increase version number
--HG--
branch : 8.0
2026-04-23 01:03:20 +02:00
Cédric Krier 37d4fc2194 Prepare release sao-8.0.1
--HG--
branch : 8.0
2026-04-23 01:02:36 +02:00
Cédric Krier 664060c49e Remove fake gap from form containers on XS screen
Since e58b98a512c2 we apply a fake gap but it must be removed on XS screen.

Closes #14799
(grafted from 394e796bbe4e4c15097770dc70a6e2c3b53087ca)

--HG--
branch : 8.0
2026-04-22 16:57:03 +02:00
Cédric Krier d7715aba68 Make overflow visible for dropdown in table header of treeview
7d2e1761cee2 added an overflow invisible on the div of the table header to hide
the sort icon when the column width is too small. But the overflow must be
visible for the dropdown to display the menu.

Closes #14793
(grafted from b243f1930ffe23e9a9078817be0a22d4c468edb3)

--HG--
branch : 8.0
2026-04-21 19:04:13 +02:00
Cédric Krier 045421c749 Increase version number
--HG--
branch : 8.0
2026-04-20 21:01:58 +02:00
Cédric Krier 7f0d38f477 Prepare release 8.0.0 2026-04-20 20:10:13 +02:00
José Antonio Díaz Miralles 1993e447ce Return the values from the promise of default_get method
Closes #14783
2026-04-20 18:14:28 +02:00
Cédric Krier 7a29801b68 Remove unrelated changelog entry 2026-04-20 18:10:24 +02:00
Cédric Krier de1bb5d5d9 Update translations [skip ci] 2026-04-20 10:38:52 +02:00
Cédric Krier a7c57aeef6 Execute only one menu item and button actions at a time per tab
Closes #14769
2026-04-16 23:00:54 +02:00
Cédric Krier f07cf4dceb Wait for the next/previous display promises before clearing info and set button sensitiveness
#14769
2026-04-16 22:50:42 +02:00
Cédric Krier a973cdd9f8 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.
2026-04-16 22:48:34 +02:00
Cédric Krier 886a463adb Support widget returning promise on display
The xxx2Many widgets can not be displayed synchronously so we need to include
there promise in the promise returned by the form view display method.

#14769
2026-04-16 22:45:15 +02:00
Cédric Krier 4e4c294bb0 Move the sortable icon of table column outside of the label
This ensure that the labels have the same height even if they are or not
sortable.

Closes #14762
2026-04-11 08:42:50 +02:00
Cédric Krier 4e97df25ba 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
2026-04-09 17:28:37 +02:00
Cédric Krier bbd062a61a Return promise from save function on Tab
Closes #14604
2026-04-09 15:54:06 +02:00
Cédric Krier 0f67babf1f Always remove spaces when converting value to number in domain parser
Closes #14753
2026-04-08 14:31:55 +02:00