Commit Graph
652 Commits
Author SHA1 Message Date
Cédric Krier 2186c3740c Do not set selection after asynchronous call if parameters have changed
And do not store the current selection nor help but only pass them to the
callback.

Closes #15029
(grafted from 917de1b3e12443c919b90ba7cac9497bca047ef9)

--HG--
branch : 8.0
2026-08-21 15:26:56 +02:00
Cédric Krier cb050c3441 Make wizard wait for setting default value before ending processing
Closes #15040
(grafted from 78d8d12401ff32125fa24fdbd600a9e6eb0cc136)

--HG--
branch : 8.0
2026-08-25 12:24:36 +02:00
Cédric Krier 416122a718 Add record changed callback
Only when the current record has changed that those objects needs to be
refreshed/cleared:

    - the info bar
    - the resources
    - the attachment preview
    - the chat

Closes #15012
(grafted from dc3a3e20006329b742e6f989a0fd01d485ec80b1)

--HG--
branch : 8.0
2026-08-14 12:55:53 +02:00
Cédric Krier fbe9b2c351 Increase version number
--HG--
branch : 8.0
2026-08-15 08:47:00 +02:00
Cédric Krier babab249a5 Prepare release sao-8.0.9
--HG--
branch : 8.0
2026-08-15 08:45:47 +02:00
Cédric Krier f5b81e02f7 Validate current record before switching to next/previous record in window form
Closes #14994
(grafted from 9711708ebcd6242e98a4602da530369f176d6654)

--HG--
branch : 8.0
2026-08-05 17:39:38 +02:00
Cédric Krier fd71ce229d Do not set width and height to 100% for <img/> of document
Closes #14979
(grafted from 9f966d1051f17bbcf09959daf3fab1e1f28cff36)

--HG--
branch : 8.0
2026-07-30 16:20:47 +02:00
Cédric Krier 459bc5c1fc Increase version number
--HG--
branch : 8.0
2026-08-04 12:06:50 +02:00
Cédric Krier e45d0e6641 Prepare release sao-8.0.8
--HG--
branch : 8.0
2026-08-04 12:06:31 +02:00
Nicolas Évrard 86e58a889e Set the utc flag on Sao.Date
Closes #14510
(grafted from 7f19398f376080795764e089e2a87c3eaa0feda8)

--HG--
branch : 8.0
2026-07-27 10:39:01 +02:00
Cédric Krier 9cc8e5f215 Clear the value of input select once data has been read
The display does not clear the input if the current record is changed so we
must ensure that the input is always empty once file has been selected.

Closes #14482
(grafted from 759ffbf53e83eb67855b929aaf0274826e1b1fb5)

--HG--
branch : 8.0
2026-07-27 10:59:31 +02:00
Cédric Krier 906f98ebf9 Prevent switching row when double click on Many2One link
Closes #14967
(grafted from e8c236df31219bfe19c1e73e4254863fa3ef2d46)

--HG--
branch : 8.0
2026-07-23 18:27:41 +02:00
Cédric Krier 14503c1683 Compare tab against view index less or equals to 0
The view index may be -1 is the view is not yet displayed.

Closes #14961
(grafted from 7267bae222e053d7ebfb59981ee13ae941b469dd)

--HG--
branch : 8.0
2026-07-17 12:58:29 +02:00
Cédric Krier 2e206dba7e Allow npm to run puppeteer scripts
Closes #14960
(grafted from bcfbef3830fe4c4f4e2cd6eb8ea855787bf19cd2)

--HG--
branch : 8.0
2026-07-17 11:40:28 +02:00
Cédric Krier 41ef4d8c8a Increase version number
--HG--
branch : 8.0
2026-07-15 18:31:35 +02:00
Cédric Krier 18a0e3d1c7 Prepare release sao-8.0.7
--HG--
branch : 8.0
2026-07-15 18:30:33 +02:00
Cédric Krier 5c5cc2609d Center checkbox in editable tree
For the auto margin to center the input, it must be displayed as block without
float.

Closes #14942
(grafted from 99d59e3b76a7f11c65adea228345fe24571ed510)

--HG--
branch : 8.0
2026-07-08 14:59:54 +02:00
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