Commit Graph
52061 Commits
Author SHA1 Message Date
Cédric Krier db899647c9 Increase version number
--HG--
branch : 6.0
2024-05-01 12:01:04 +02:00
Cédric Krier f28a29777a Add tag stock_product_location-6.0.2
--HG--
branch : 6.0
2024-05-01 12:00:54 +02:00
Cédric Krier 69837532ef Prepare release stock_product_location-6.0.2
--HG--
branch : 6.0
2024-05-01 12:00:53 +02:00
Cédric Krier 64f84af367 Increase version number
--HG--
branch : 6.0
2024-05-01 11:54:07 +02:00
Cédric Krier e69e4c821e Add tag stock_shipment_cost-6.0.3
--HG--
branch : 6.0
2024-05-01 11:54:00 +02:00
Cédric Krier 0e43f5314c Prepare release stock_shipment_cost-6.0.3
--HG--
branch : 6.0
2024-05-01 11:53:59 +02:00
Cédric Krier 35d994f90c Increase version number
--HG--
branch : 6.0
2024-05-01 11:28:30 +02:00
Cédric Krier 8f960e445b Add tag sao-6.0.41
--HG--
branch : 6.0
2024-05-01 11:28:25 +02:00
Cédric Krier a0870c2c39 Prepare release sao-6.0.41
--HG--
branch : 6.0
2024-05-01 11:28:24 +02:00
Cédric Krier a5d1752a1d Increase version number
--HG--
branch : 6.0
2024-05-01 11:19:00 +02:00
Cédric Krier 2423097d63 Add tag tryton-6.0.39
--HG--
branch : 6.0
2024-05-01 11:18:46 +02:00
Cédric Krier a0fcf6bb97 Prepare release tryton-6.0.39
--HG--
branch : 6.0
2024-05-01 11:18:45 +02:00
Cédric Krier 61b8e0e1e6 Increase version number
--HG--
branch : 6.0
2024-05-01 11:10:32 +02:00
Cédric Krier c2c4109535 Add tag trytond-6.0.46
--HG--
branch : 6.0
2024-05-01 11:10:16 +02:00
Cédric Krier 3e789b270f Prepare release trytond-6.0.46
--HG--
branch : 6.0
2024-05-01 11:10:15 +02:00
Cédric Krier bfb38de9c1 Support loading plugins without sources
cx_Freeze include only the bytecodes version of the translation plugin.

Closes #13208
(grafted from c06fd05a195bfb9bae5dd388a366c0d58c2005a4)

--HG--
branch : 6.0
2024-04-23 13:38:29 +02:00
Cédric Krier 664978a7b9 Use find_packages to fill packages for build_exe
Otherwise cx_Freeze does not include the translation plugin as it is
dynamically loaded.

Closes #13208
(grafted from 0ab3cefbe003fb39da8b2f3dbb265743ed763f36)

--HG--
branch : 6.0
2024-04-23 13:19:54 +02:00
Cédric Krier f3891b878e Depends on xxx2many fields when they are assigned by a change function
Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)

--HG--
branch : 6.0
2024-04-22 08:59:48 +02:00
Cédric Krier 1ce176db4a Ensure current record has been saved before execute button action
(grafted from 8d4e44642bd96d29436f327eb9eba591214fb7e7)

--HG--
branch : 6.0
2024-04-21 15:25:14 +02:00
Cédric Krier 958148c8d1 Wait for display to finish when reloading record
(grafted from 9023fdf384db2961e4dea922f5194b09f879834f)

--HG--
branch : 6.0
2024-04-21 15:24:26 +02:00
Cédric Krier 765ec527aa Fallback to default model access if RPC request fails
(grafted from 5680160a1ab68e8e30e05265aef34eea44be0139)

--HG--
branch : 6.0
2024-04-18 19:22:07 +02:00
Cédric Krier 38b29f3bb4 Encode with gzip only if a session exists
Since 1923117e935d the server does not accept compressed content for
unauthenticated request.
(grafted from 97cbe01195da6938e7f718d07e436c8a2856e3a2)

--HG--
branch : 6.0
2024-04-18 19:15:47 +02:00
Cédric Krier a1a7d957f9 Fill tax rule pattern with default empty countries
A rule line for a country is not expected to be used when the country is
unknown.

Closes #13169
(grafted from cea3c89a740248a84ce48a906f1b1c33ba0fac5e)

--HG--
branch : 6.0
2024-04-08 12:13:33 +02:00
Adrià Tarroja Caubet 8194ea8ab1 Clear view toolbar cache when email templates are modified
Closes #13072
(grafted from aaced85022248371ebea50482914d5df13bb477e)

--HG--
branch : 6.0
2024-04-21 17:29:41 +02:00
Cédric Krier e6fe291bde Prevent to get user_id from request without view_args
If user_id is accessed before view_args has been setup, we should not cache
`None` as value but instead raise an exception.
The `user_id` may be accessed before the mapping if the request is logged
because the representation of the request used the `rpc_method` which needs to
parse the request data. But since 1923117e935d parsing compressed content is
only allowed for request with `user_id`.
So we can no more include the `rpc_method` is the request has not yet been
mapped and so it has a `view_args`.

Closes #13203
(grafted from 0630029c1d5a0a2c7bd45086957f2e0fbed4c427)

--HG--
branch : 6.0
2024-04-18 19:28:04 +02:00
Cédric Krier 1588ce814e Use jQuery remove to remove children row elements
We can not rely on the row node to always have a parent node as toggle_row is
a callback to an event that can be executed after the row has already be
removed from the DOM.

Closes #13198
(grafted from 7e3ab58418656857275f3888386d840ca336858f)

--HG--
branch : 6.0
2024-04-16 09:16:24 +02:00
Cédric Krier 68b5724ab0 Set value in editable tree using the editable linked to the renderer
Closes #13078
(grafted from 56282fb2dc5fb61b7f41a3fee36ec3df082384c2)

--HG--
branch : 6.0
2024-04-14 17:12:52 +02:00
Cédric Krier 00015c36ac Always raise RPCException in RPCExecute
So when calling RPCExecute without processing exception, all exceptions can be
catch with RPCException.

Closes #12874
(grafted from 372dbf53977e872ae62dbc8d6ce5bdc3bcacec69)

--HG--
branch : 6.0
2024-04-14 11:07:33 +02:00
Cédric Krier 3478483b5d Parse text as datetime when it is a string
The on_paste method is calling value_from_text for each widget using the
string from the clipboard.
So textual value needs to be supported even for date and time widgets which
uses a cell renderer that provides datetime value.

Closes #12860
(grafted from 06448d7bdb976b7057a465ca332bbc638e91653e)

--HG--
branch : 6.0
2024-04-14 10:56:27 +02:00
Cédric Krier 6f06be1681 Test if current view is defined on screen before using it
Closes #13178
(grafted from 6f0ae4c7719fbf129ffd0221aa9b1fa008df23e2)

--HG--
branch : 6.0
2024-04-13 15:35:15 +02:00
Cédric Krier 25bf7d1758 Test if user has a company before using it in letter report
Closes #13174
(grafted from 532ac5ce0458557de16512c2751c2e394924e7e1)

--HG--
branch : 6.0
2024-04-13 15:04:45 +02:00
Cédric Krier bffbc47e1c Use function to not copy custom report content
The Function fields are not copied so it is the storage field that must have a
default value.

Closes #13170
(grafted from 96d629fe11a710b395d9981881c5dfda1674becf)

--HG--
branch : 6.0
2024-04-13 15:00:52 +02:00
Cédric Krier c9183d7e61 Do not fail to get product location for shipment without warehouse
The warehouse of internal shipment is computed and may be empty if the from
location does not have a warehouse.

Closes #13129
(grafted from f4f85f4d31f0afe83bb8662d1c15ceecadbd753e)

--HG--
branch : 6.0
2024-04-13 13:52:43 +02:00
Maxime Richez bc7a3cc07c Decorate pack button of customer shipment when extending it for shipping
Closes #13131
(grafted from 710bafa013393a2ebd3731d890fad427c75df1f1)

--HG--
branch : 6.0
2024-04-15 16:20:31 +02:00
Cédric Krier 4da2c57d9e Do not try to round or convert list price of project revenue
By using list_price_used we are sure to have a list price in the company
currency so there is not need for conversion.
Also list price of a product can be empty so we should not try to round it.

Closes #13110
(grafted from 710927560bfe722fc02c0d22bbdf2c1615f787a7)

--HG--
branch : 6.0
2024-04-10 18:06:23 +02:00
Cédric Krier 7f9ae41ef8 Test if contextual company id is positive before using it
Closes #13176
(grafted from fa023763f7b00cd4fbfa9e818bf25db9e259cfbd)

--HG--
branch : 6.0
2024-04-10 11:25:11 +02:00
Cédric Krier d6767cfdc9 Set visibility property always to the entry widget
When the password widget has autocomplete activated, the entry is a combobox.

Closes #13166
(grafted from e159bd2cd8bf9aa408ce8cda144ef41195f01ea3)

--HG--
branch : 6.0
2024-04-05 18:09:19 +02:00
Cédric Krier 50ae2f0b36 Do not hide visibility checkbox on readonly password
Closes #13165
(grafted from d5e4cb50c2bcfd90ab0e8b09679f5b435bbb681e)

--HG--
branch : 6.0
2024-04-05 18:06:23 +02:00
Maxime Richez 7fb0640045 Allocate also shipment cost of 0
Closes #13155
(grafted from 9a2d0edb8d8b3903e47b74bc339ba4d2ec6df097)

--HG--
branch : 6.0
2024-04-13 19:13:44 +02:00
Nicolas Évrard dba3816926 Check for the existence of a screen before restoring size of wizard's dialog window
Closes #12944
(grafted from af40ac94803e01092fccbdc553cc772f251b9abd)

--HG--
branch : 6.0
2024-04-13 17:42:02 +02:00
Cédric Krier e68d2fb949 Remove ending commit when loading modules
The commit call was added by a6624f31ff20 to release lock because Cache.resets
was called inside the transaction.
But Cache.resets was removed in a83631f4ba67 and Cache does not create any new
transaction since.
And since 2fd8c5f88265 the transaction is even committed only on module
update.
(grafted from 0548d73c7ce3b4e07b6b76007f2592ed2be945ff)

--HG--
branch : 6.0
2024-03-13 08:42:10 +01:00
Cédric Krier 60b5e47ed2 Increase version number
--HG--
branch : 6.0
2024-04-17 12:47:17 +02:00
Cédric Krier 0dfc5b9d29 Add tag account-6.0.23
--HG--
branch : 6.0
2024-04-17 12:47:06 +02:00
Cédric Krier 17d0a2ed12 Prepare release account-6.0.23
--HG--
branch : 6.0
2024-04-17 12:47:05 +02:00
Cédric Krier 01a17a3890 Increase version number
--HG--
branch : 6.0
2024-04-17 12:43:23 +02:00
Cédric Krier afc28d2e01 Add tag account_payment_stripe-6.0.11
--HG--
branch : 6.0
2024-04-17 12:43:12 +02:00
Cédric Krier 3db04282d1 Prepare release account_payment_stripe-6.0.11
--HG--
branch : 6.0
2024-04-17 12:43:11 +02:00
Cédric Krier 132cd7b117 Increase version number
--HG--
branch : 6.0
2024-04-17 12:40:09 +02:00
Cédric Krier 9449f6184a Add tag sale_advance_payment-6.0.4
--HG--
branch : 6.0
2024-04-17 12:40:00 +02:00
Cédric Krier 4606bf5a89 Prepare release sale_advance_payment-6.0.4
--HG--
branch : 6.0
2024-04-17 12:39:59 +02:00