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 : 6.0
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 : 6.0
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 : 6.0
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 : 6.0
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 : 6.0
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 : 6.0
The HTML element used to display the document is based on the mimetype.
And by default a sandboxed iframe is used to isolate the unsafe content from
the parent context.
Closes#14290
(grafted from 7909b26211575e6b5dc02156dd1327bb73c55673)
--HG--
branch : 6.0
We need a different color for each data instead of each y field.
Closes#14221
(grafted from b2342474d157c0986255a1f71afef93fb142bf09)
--HG--
branch : 6.0
The current view element is the `list-form` so it is not found. Instead we must
search from the content element of the xxx2Many widget because it replicate the
CSS rule.
Closes#14212
(grafted from 92e472849bc1bfe06e65cb05d6c1f30240e8786a)
--HG--
branch : 6.0
If the button is going to be executed, the selection of the row must not change
so the propagation must be stopped before reaching the row.
Closes#14118
(grafted from b6496a9986e52e6573e45e422d5535362744938f)
--HG--
branch : 6.0
The edition of tree row relies on having the current record of the screen set
to the row edited. This can be only guarantee if we do not change the
selection.
Closes#14097
(grafted from 64ddd011cdc1a25649f0f0fa68255073e70d3e84)
--HG--
branch : 6.0
Since c8d97fac the domain parser format number using locale but the atof
function does not remove the thousand separator which could prevent Number to
parse the string.
Closes#14024
(grafted from dc438f32fa7887e5e0e241a6154a1c685e9cda20)
--HG--
branch : 6.0
We must toggle the state of the row based on the original state.
Otherwise on single mode, clicking on a selected row keep it selected.
Closes#14045
(grafted from 9beab3cc71d067f603a133540bac10eb77ea3228)
--HG--
branch : 6.0
The selection of a radio button, deselect automatically the other radio button
so we must update the selection of other rows to remove the selected class.
Closes#14044
(grafted from c4a0963472cf36475b3868f28fe12aac58e1f343)
--HG--
branch : 6.0
The modals are linked to the current tab so we can not change the tab as long
as there is a modal.
Closes#14042
(grafted from 3ed4b328369cff714b8d2269b1521a01acf5c6d5)
--HG--
branch : 6.0