Commit Graph
469 Commits
Author SHA1 Message Date
Cédric Krier 2fbf68473b Prepare release sao-7.0.57
--HG--
branch : 7.0
2026-09-16 23:20:44 +02:00
Nicolas Évrard ba730252c2 Use the selection from the update_selection call in Selection editable columns
Since 917de1b3e124 the selection is not stored on the selection_mixins we must
thus use the one coming from the callback call

Closes #15087
(grafted from e80a99079b44ce2d1c22865bd919fef6bfc8ce24)

--HG--
branch : 7.0
2026-09-10 22:12:59 +02:00
Cédric Krier 970d2d8390 Display the screen after button confirmation has been rejected
Since 0b692f8ac308 the screen must be displayed again in order to remove the
disabled property.

Closes #15061
(grafted from 7df15278c9793c95b2d14038c1f779a4447838d4)

--HG--
branch : 7.0
2026-09-03 17:23:33 +02:00
Cédric Krier 0a151fa4be Clear attachment preview when there is no current record
Closes #15044
(grafted from dc0a158ea439898e071602e8dc87fc4767fe76c6)

--HG--
branch : 7.0
2026-08-26 10:26:45 +02:00
Cédric Krier fd3580c449 Ensure it is still the same record when executing the display callback of a widget
When a widget display is asynchronous, we must ensure that it is still the same
record that is being displayed when the callback is finally executed. Otherwise
it may render the data of a different record in the HTML.

Closes #15041
(grafted from dbd215ffb07150c2f476922bd7c66dc896ed2665)

--HG--
branch : 7.0
2026-08-25 13:09:25 +02:00
Cédric Krier 2ed893c395 Cache the help with the selection per domain in selection mixin
Closes #15031
(grafted from 1439af7bdd4c87f1bb9761f722c4320e572fde80)

--HG--
branch : 7.0
2026-08-21 10:04:05 +02:00
Cédric Krier 653af010a0 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 : 7.0
2026-08-21 15:26:56 +02:00
Cédric Krier 76bc2bb348 Make wizard wait for setting default value before ending processing
Closes #15040
(grafted from 78d8d12401ff32125fa24fdbd600a9e6eb0cc136)

--HG--
branch : 7.0
2026-08-25 12:24:36 +02:00
Cédric Krier d0fd719fb9 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 : 7.0
2026-08-14 12:55:53 +02:00
Cédric Krier aeac46de68 Increase version number
--HG--
branch : 7.0
2026-08-15 08:50:55 +02:00
Cédric Krier cf76403092 Prepare release sao-7.0.56
--HG--
branch : 7.0
2026-08-15 08:49:58 +02:00
Cédric Krier bb11bc242f Validate current record before switching to next/previous record in window form
Closes #14994
(grafted from 9711708ebcd6242e98a4602da530369f176d6654)

--HG--
branch : 7.0
2026-08-05 17:39:38 +02:00
Cédric Krier 414ee45199 Escape metacharacters from thousand separator before using it in replace
Closes #14971

--HG--
branch : 7.0
2026-08-06 16:15:44 +02:00
Cédric Krier 3d40bc7124 Increase version number
--HG--
branch : 7.0
2026-08-04 12:07:52 +02:00
Cédric Krier 79d43f9de0 Prepare release sao-7.0.55
--HG--
branch : 7.0
2026-08-04 12:07:43 +02:00
Nicolas Évrard a6951ea298 Set the utc flag on Sao.Date
Closes #14510
(grafted from 7f19398f376080795764e089e2a87c3eaa0feda8)

--HG--
branch : 7.0
2026-07-27 10:39:01 +02:00
Cédric Krier 8f35023da7 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 : 7.0
2026-07-27 10:59:31 +02:00
Cédric Krier d5aaa5ffcf Prevent switching row when double click on Many2One link
Closes #14967
(grafted from e8c236df31219bfe19c1e73e4254863fa3ef2d46)

--HG--
branch : 7.0
2026-07-23 18:27:41 +02:00
Cédric Krier 0e463ed09d Allow npm to run puppeteer scripts
Closes #14960
(grafted from bcfbef3830fe4c4f4e2cd6eb8ea855787bf19cd2)

--HG--
branch : 7.0
2026-07-17 11:40:28 +02:00
Cédric Krier 9293be55df Increase version number
--HG--
branch : 7.0
2026-07-15 18:33:45 +02:00
Cédric Krier c1b7ca4007 Prepare release sao-7.0.54
--HG--
branch : 7.0
2026-07-15 18:33:18 +02:00
Cédric Krier 1707003292 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 : 7.0
2026-07-08 14:59:54 +02:00
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 2408353b95 Increase version number
--HG--
branch : 7.0
2026-07-01 22:44:18 +02:00
Cédric Krier b2168d7e2b Prepare release sao-7.0.53
--HG--
branch : 7.0
2026-07-01 22:44:10 +02:00
Cédric Krier ec42f804a6 Clausify each clause of the parsed domain on date/time equality
Closes #14917
(grafted from 31fa77ee3dba8b633395d383b2d890333bf9aff3)

--HG--
branch : 7.0
2026-06-29 18:06:10 +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 95e3c64416 Increase version number
--HG--
branch : 7.0
2026-06-18 21:33:52 +02:00
Cédric Krier 2a65b74bf5 Prepare release sao-7.0.52
--HG--
branch : 7.0
2026-06-18 21:33:41 +02:00
José Antonio Díaz Miralles 573113ca33 Sanitize screen.current_record if it is already destroyed
Closes #14827
(grafted from 9cb776c27fda504a91312636371273483f404152)

--HG--
branch : 7.0
2026-05-10 11:44:04 +02:00
Cédric Krier 6eec705ed8 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 : 7.0
2026-05-21 17:54:51 +02:00
Cédric Krier 39e549f7ce 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 : 7.0
2026-05-20 18:50:58 +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 670b01371a Increase version number
--HG--
branch : 7.0
2026-06-02 18:56:39 +02:00
Cédric Krier 4eca1fd32a Prepare release sao-7.0.51
--HG--
branch : 7.0
2026-06-02 18:56:15 +02:00
Cédric Krier 7116f3fd37 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 : 7.0
2026-05-19 17:33:44 +02:00
Cédric Krier 1a6286e68f 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 : 7.0
2026-05-19 17:18:34 +02:00
Cédric Krier 035a26b3d9 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 : 7.0
2026-05-19 17:13:41 +02:00
Cédric Krier aeb3d088fd Return a proper DateTime in UTC for domain parser completion
Closes #14842
(grafted from f394f7c758765361aadc5569d7303ac1a795ca8c)

--HG--
branch : 7.0
2026-05-18 18:28:00 +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
José Antonio Díaz Miralles b47794d54f Reject O2M validate promise when record validation fails after screen display
Closes #14775
(grafted from 6978c46c77b9133381e18de964ae3886fc87f1e4)

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

--HG--
branch : 7.0
2026-05-18 15:57:55 +02:00
Cédric Krier 3ebccb288a Increase version number
--HG--
branch : 7.0
2026-05-20 23:26:52 +02:00
Cédric Krier 75e266b02c Prepare release sao-7.0.50
--HG--
branch : 7.0
2026-05-20 23:26:44 +02:00
Cédric Krier 3498b09818 Flip expander and icons for RTL language
Closes #14810
(grafted from 4fea86cbae6a7d279d3e113177f2711634f5926d)

--HG--
branch : 7.0
2026-04-24 16:16:27 +02:00
Cédric Krier 43fa9eb749 Increase version number
--HG--
branch : 7.0
2026-05-02 13:58:39 +02:00
Cédric Krier f149508ede Prepare release sao-7.0.49
--HG--
branch : 7.0
2026-05-02 13:58:29 +02:00
Cédric Krier 2aacd43d09 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 : 7.0
2026-04-24 16:14:05 +02:00
José Antonio Díaz Miralles fba004210e Return the values from the promise of default_get method
Closes #14783
(grafted from 330cdd9b70997ee4050dffbedb184287010e0c28)

--HG--
branch : 7.0
2026-04-20 18:14:28 +02:00