Commit Graph
59283 Commits
Author SHA1 Message Date
Cédric Krier 1099d520d7 Do not use field definitions when exporting data
Calling Model.fields_get is expensive especially for each record to export.

Closes #14061
(grafted from f9886ab808fd8eb8a0334e6fb0e1f1839b4ddfe9)

--HG--
branch : 7.0
2025-06-10 14:29:07 +02:00
Cédric Krier eecee06a15 Make trytond-gis depends on the trytond extras test for its tests
(grafted from 7e15a8cac5a4bc4fb9a659f57b955d1f9d64485e)

--HG--
branch : 7.0
2025-06-01 23:19:18 +02:00
Cédric Krier c14099ba7c Do not save tree state when setting value on form view
(grafted from caf7ffa6d65ac4ff9c5cfe62c5f5e96dca520ef5)

--HG--
branch : 7.0
2025-06-01 12:45:53 +02:00
Cédric Krier 754c1c1014 Always wait for the promise of save_tree_state
#14048
(grafted from 14150ef09fb62f67803fe1589e6f8031c43f063a)

--HG--
branch : 7.0
2025-06-01 12:45:06 +02:00
Cédric Krier 6d7daac2a8 Round only the tax amount of the line when rounding per line
If we round the tax amount already added to the other line, the result may vary
depending on the order of the lines.
This is because round half even is used so the result may depend on the already
summed tax amounts.

Closes #14047
(grafted from e1e376f91bc1e111cdef39ddcbbfd92d201ea6c9)

--HG--
branch : 7.0
2025-05-30 18:10:27 +02:00
Cédric Krier e689a0d636 Store the selected state before deselect all the rows
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 : 7.0
2025-05-28 18:15:07 +02:00
Cédric Krier 948320b6ce Unselect other rows when radio button of row is selected
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 : 7.0
2025-05-28 18:11:23 +02:00
Cédric Krier 5d11dc8af7 Change the border color of checkbox and radio when focus
This provides a visual hint that the element has the focus.

Closes #14043
(grafted from 3899ec3c773815dd78935e9c3471a7c54310d0af)

--HG--
branch : 7.0
2025-05-28 18:05:16 +02:00
Cédric Krier 4dee0a16c5 Do not execute tab shortcuts if there is a modal open
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 : 7.0
2025-05-28 18:02:21 +02:00
Cédric Krier 9f63f797c2 Apply filter on icon under primary background
Otherwise the icon is not visible as it has the same color as the background.

Closes #14032
(grafted from 008fec3346bdc8ce48b0cba63869f866b91dc0e8)

--HG--
branch : 7.0
2025-05-21 17:10:34 +02:00
Cédric Krier 4e07ab9e56 Remove thousand separator when converting domain string to float
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 : 7.0
2025-05-23 12:53:44 +02:00
Cédric Krier d30799b43f Invert boolean operator when searching description with negative operator
Closes #14037
(grafted from ef07c70a3ebe93f2e6268ccde48445005d3cdff6)

--HG--
branch : 7.0
2025-05-27 19:57:03 +02:00
Cédric Krier 9f9668641a Increase version number
--HG--
branch : 7.0
2025-06-04 23:51:14 +02:00
Cédric Krier cb4c555525 Add tag document_incoming-7.0.4
--HG--
branch : 7.0
2025-06-04 23:51:06 +02:00
Cédric Krier f665b6044e Prepare release document_incoming-7.0.4
--HG--
branch : 7.0
2025-06-04 23:51:05 +02:00
Cédric Krier cfd2bf060c Increase version number
--HG--
branch : 7.0
2025-06-04 23:47:08 +02:00
Cédric Krier caf937fd3b Add tag product_kit-7.0.5
--HG--
branch : 7.0
2025-06-04 23:46:58 +02:00
Cédric Krier 32813f9f60 Prepare release product_kit-7.0.5
--HG--
branch : 7.0
2025-06-04 23:46:57 +02:00
Cédric Krier e3c198d9eb Increase version number
--HG--
branch : 7.0
2025-06-04 23:42:52 +02:00
Cédric Krier 8d833646ae Add tag purchase-7.0.14
--HG--
branch : 7.0
2025-06-04 23:42:44 +02:00
Cédric Krier 028a070d75 Prepare release purchase-7.0.14
--HG--
branch : 7.0
2025-06-04 23:42:43 +02:00
Cédric Krier dde52f36a6 Increase version number
--HG--
branch : 7.0
2025-06-04 23:36:18 +02:00
Cédric Krier ebbf1ded64 Add tag sale-7.0.15
--HG--
branch : 7.0
2025-06-04 23:36:09 +02:00
Cédric Krier d99e9bb0b1 Prepare release sale-7.0.15
--HG--
branch : 7.0
2025-06-04 23:36:08 +02:00
Cédric Krier 055b35bf98 Increase version number
--HG--
branch : 7.0
2025-06-04 23:32:35 +02:00
Cédric Krier 1dffc8b152 Add tag sale_supply_drop_shipment-7.0.3
--HG--
branch : 7.0
2025-06-04 23:32:26 +02:00
Cédric Krier 486cb0e395 Prepare release sale_supply_drop_shipment-7.0.3
--HG--
branch : 7.0
2025-06-04 23:32:25 +02:00
Cédric Krier 24f710b66b Increase version number
--HG--
branch : 7.0
2025-06-04 23:29:37 +02:00
Cédric Krier 92d507e632 Add tag stock-7.0.13
--HG--
branch : 7.0
2025-06-04 23:29:28 +02:00
Cédric Krier 2e7b7af9f6 Prepare release stock-7.0.13
--HG--
branch : 7.0
2025-06-04 23:29:27 +02:00
Cédric Krier 3a8e0e24a5 Increase version number
--HG--
branch : 7.0
2025-06-04 23:20:02 +02:00
Cédric Krier 11504d54bf Add tag sao-7.0.31
--HG--
branch : 7.0
2025-06-04 23:19:56 +02:00
Cédric Krier fe279bf8e6 Prepare release sao-7.0.31
--HG--
branch : 7.0
2025-06-04 23:19:55 +02:00
Cédric Krier 5ca3aa49a7 Increase version number
--HG--
branch : 7.0
2025-06-04 23:17:11 +02:00
Cédric Krier 6686787cba Add tag tryton-7.0.27
--HG--
branch : 7.0
2025-06-04 23:17:02 +02:00
Cédric Krier afff5ab994 Prepare release tryton-7.0.27
--HG--
branch : 7.0
2025-06-04 23:17:01 +02:00
Cédric Krier b75e0dfb52 Increase version number
--HG--
branch : 7.0
2025-06-04 23:07:39 +02:00
Cédric Krier fa9565d15d Add tag trytond-7.0.32
--HG--
branch : 7.0
2025-06-04 23:07:26 +02:00
Cédric Krier 44bd9bbdcb Prepare release trytond-7.0.32
--HG--
branch : 7.0
2025-06-04 23:07:25 +02:00
Cédric Krier 1da7d47099 Import multiselection field as CSV list
Closes #13995
(grafted from b750eb7cfb864e10a081e20ac5b3449c591cd484)

--HG--
branch : 7.0
2025-05-21 16:58:36 +02:00
Cédric Krier 9fd6831448 Export multiselection field as CSV list
Closes #13995
(grafted from 01a7bd68c8ad35b6540d67e03a824d9bb0f22e5a)

--HG--
branch : 7.0
2025-05-21 18:38:40 +02:00
Cédric Krier 449c4477cd Avoid parsing image content as XML is they do not look like XML
This prevent the browser to log an error in the console.
Also we test for the presence of svg tag to be sure it is an svg image.

Closes #14019
(grafted from 286d03999217e1ea39231bb286cfa926d2f47486)

--HG--
branch : 7.0
2025-05-14 12:56:23 +02:00
Nicolas Évrard 24e99bc45b Use class access model when testing for parent access
(grafted from f2734a16eb1d28f654ffc3ae6cd45b9d2af8726e)

--HG--
branch : 7.0
2025-05-22 10:59:36 +02:00
Cédric Krier aad0f73ed5 Store URL to open before getting the preferences
The preferences may execute actions which may change the original URL at the
login. Such that the original URL is never open.
This is more visible since ac5d71376fca which makes the actions sequential.

Closes #13975
(grafted from 792784aa4fa3ee0e95f078fc87573d8bc4a859f8)

--HG--
branch : 7.0
2025-05-21 11:16:56 +02:00
Cédric Krier 4f9088a7d6 Set default value via domain inversion only when deferred operand is id
Other cases for deferred operand can not be deduced as unique for sure.

Closes #14005
(grafted from 7bf6ea18fe8ea12330c0aff2e6456b3d12c86228)

--HG--
branch : 7.0
2025-05-08 18:22:54 +02:00
Cédric Krier 5e531856fe Iterate on the result of items call to update values set by on_change on O2M
e38f2298 introduces wrongly the iteration over the function instead of the result.

Closes #14014
(grafted from fadb43303291d5641f5e30169126e595aaa83ad5)

--HG--
branch : 7.0
2025-05-12 12:36:10 +02:00
Sergi Almacellas Abellana 424abbcfd0 Do not require result nor type for inactive documents
Otherwise children documents can not be processed because the parent document
raises a RequiredValidationError when saved

Closes #14015
(grafted from e09cd53b9c701ef8da73163e9834d1f3db5a8e37)

--HG--
branch : 7.0
2025-05-12 15:17:26 +02:00
Nicolas Évrard 4256aa8a2e Remove notification events from the queue after the wait times out
Closes #14022
(grafted from 23bbeb1772ec7d5e27876e638337d9f2d81bbf19)

--HG--
branch : 7.0
2025-05-14 12:12:54 +02:00
Maxime Richez d5b2919200 Set empty currency and unit price on stock move when not required
Closes #14023
(grafted from 6090f9c621e782cd47eb0537dee972c2f1fa8fe6)

--HG--
branch : 7.0
2025-05-16 13:20:28 +02:00
Nicolas Évrard b5f6cfdf36 Use the initial precision when applying factor to a field without digits
Without digits the full representation of the number is used which might not
be the expected behaviour because applying the factor will result in a number
which short representation could be surprising to the user.

Closes #10460
(grafted from 6b292fe0dbb05cebbc17ba7fbbddb19d39f675dc)

--HG--
branch : 7.0
2025-05-19 11:31:28 +02:00