Commit Graph
58113 Commits
Author SHA1 Message Date
Cédric Krier d5ef920359 Add tag sale_opportunity-7.0.1
--HG--
branch : 7.0
2024-05-01 13:21:50 +02:00
Cédric Krier fc7d735d4c Prepare release sale_opportunity-7.0.1
--HG--
branch : 7.0
2024-05-01 13:21:49 +02:00
Cédric Krier 63b15b47d5 Increase version number
--HG--
branch : 7.0
2024-05-01 13:19:16 +02:00
Cédric Krier ef01c22f66 Add tag sale_shipment_cost-7.0.4
--HG--
branch : 7.0
2024-05-01 13:19:08 +02:00
Cédric Krier 3e2286d4f2 Prepare release sale_shipment_cost-7.0.4
--HG--
branch : 7.0
2024-05-01 13:19:07 +02:00
Cédric Krier beaf8a9447 Increase version number
--HG--
branch : 7.0
2024-05-01 12:06:05 +02:00
Cédric Krier 656b7077e6 Add tag stock-7.0.5
--HG--
branch : 7.0
2024-05-01 12:05:54 +02:00
Cédric Krier 6c2ac8a2c5 Prepare release stock-7.0.5
--HG--
branch : 7.0
2024-05-01 12:05:52 +02:00
Cédric Krier 20da283b3d Increase version number
--HG--
branch : 7.0
2024-05-01 12:02:40 +02:00
Cédric Krier 577e49541c Add tag stock_package_shipping-7.0.1
--HG--
branch : 7.0
2024-05-01 12:02:33 +02:00
Cédric Krier 982e495c83 Prepare release stock_package_shipping-7.0.1
--HG--
branch : 7.0
2024-05-01 12:02:31 +02:00
Cédric Krier e0732c6280 Increase version number
--HG--
branch : 7.0
2024-05-01 11:55:51 +02:00
Cédric Krier 71b8df159f Add tag stock_product_location-7.0.2
--HG--
branch : 7.0
2024-05-01 11:55:43 +02:00
Cédric Krier 7f59ad7564 Prepare release stock_product_location-7.0.2
--HG--
branch : 7.0
2024-05-01 11:55:42 +02:00
Cédric Krier f6fb58e453 Increase version number
--HG--
branch : 7.0
2024-05-01 11:53:12 +02:00
Cédric Krier 3efdb7403a Add tag stock_shipment_cost-7.0.1
--HG--
branch : 7.0
2024-05-01 11:53:05 +02:00
Cédric Krier 660e5151cd Prepare release stock_shipment_cost-7.0.1
--HG--
branch : 7.0
2024-05-01 11:53:04 +02:00
Cédric Krier b644be0933 Increase version number
--HG--
branch : 7.0
2024-05-01 11:27:42 +02:00
Cédric Krier 2d133f30ff Add tag sao-7.0.11
--HG--
branch : 7.0
2024-05-01 11:27:36 +02:00
Cédric Krier 2daa62decb Prepare release sao-7.0.11
--HG--
branch : 7.0
2024-05-01 11:27:35 +02:00
Cédric Krier ff71293ca7 Increase version number
--HG--
branch : 7.0
2024-05-01 11:15:10 +02:00
Cédric Krier f075db2fb7 Add tag tryton-7.0.10
--HG--
branch : 7.0
2024-05-01 11:14:13 +02:00
Cédric Krier ee1e71331d Prepare release tryton-7.0.10
--HG--
branch : 7.0
2024-05-01 11:14:12 +02:00
Cédric Krier 1463aa57e8 Increase version number
--HG--
branch : 7.0
2024-05-01 11:09:20 +02:00
Cédric Krier 93f6b3e327 Add tag trytond-7.0.11
--HG--
branch : 7.0
2024-05-01 11:09:04 +02:00
Cédric Krier a2a61fb5dc Prepare release trytond-7.0.11
--HG--
branch : 7.0
2024-05-01 11:09:03 +02:00
Cédric Krier 951ffbf946 Support loading plugins without sources
cx_Freeze include only the bytecodes version of the translation plugin.

Closes #13208
(grafted from c06fd05a195bfb9bae5dd388a366c0d58c2005a4)

--HG--
branch : 7.0
2024-04-23 13:38:29 +02:00
Cédric Krier 67eb9531f0 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 : 7.0
2024-04-23 13:19:54 +02:00
Cédric Krier 5623f2bcf6 Use id as default payee value on pay invoice wizard
Closes #13140
(grafted from 1a12707bd33d013f3f1853e7843742727018abf6)

--HG--
branch : 7.0
2024-04-21 15:33:42 +02:00
Cédric Krier 956b5d8136 Check only shipment with cost method 'order' to invoice shipment cost on order
If the sale is linked to a shipment with a different cost method than order,
it should not be considered to decide to invoice or not the sale shipment
cost.

Closes #13171
(grafted from f290dbb1479d4a4e4aabb2f66d93bf4e042f42e6)

--HG--
branch : 7.0
2024-04-08 17:45:01 +02:00
Cédric Krier a6e822f877 Depends on xxx2many fields when they are assigned by a change function
Closes #13099
(grafted from 4a24c323d44a3b5ab440b1bafc4b3b9005500642)

--HG--
branch : 7.0
2024-04-22 08:59:48 +02:00
Cédric Krier 07502cc23c Trigger record saved after reload ids when execute button
The buttons of the toolbar must be updated after having saved the current
record.

Closes #13125
(grafted from 03b3f3d5a60c9dbb6268a20fdd8f0c56157272b4)

--HG--
branch : 7.0
2024-04-21 15:23:18 +02:00
Cédric Krier ec568c1e79 Ensure current record has been saved before execute button action
(grafted from 8d4e44642bd96d29436f327eb9eba591214fb7e7)

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

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

--HG--
branch : 7.0
2024-04-18 19:22:07 +02:00
Cédric Krier 680d515c2a 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 : 7.0
2024-04-18 19:15:47 +02:00
Cédric Krier 2b48cf703f Do not display cancelled moves in shipment reports
Closes #13202
(grafted from 29176a5201d492908cbb816b8fed9492bb6fdc8e)

--HG--
branch : 7.0
2024-04-18 14:49:49 +02:00
Cédric Krier d92c741136 Compute cache key for record rules using all models
As model can inherit the access rules from another, the key must include the
keys of those other models.

Closes #13162
(grafted from b04f36d27c78663851f6859e266aac203afd7600)

--HG--
branch : 7.0
2024-04-17 20:22:10 +02:00
Cédric Krier d1484be87e Use strict locale parsing for date and datetime
Closes #12314
(grafted from 484efc68bef80fe1492d1efdac2a0484ff2eee05)

--HG--
branch : 7.0
2024-04-11 13:04:01 +02:00
Cédric Krier ea942a8f97 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 : 7.0
2024-04-08 12:13:33 +02:00
Adrià Tarroja Caubet 8d9773f85b Clear view toolbar cache when email templates are modified
Closes #13072
(grafted from aaced85022248371ebea50482914d5df13bb477e)

--HG--
branch : 7.0
2024-04-21 17:29:41 +02:00
Cédric Krier 29c8790c40 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 : 7.0
2024-04-18 19:28:04 +02:00
Cédric Krier 024e58b716 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 : 7.0
2024-04-16 09:16:24 +02:00
Cédric Krier e270e564e1 Set value in editable tree using the editable linked to the renderer
Closes #13078
(grafted from 56282fb2dc5fb61b7f41a3fee36ec3df082384c2)

--HG--
branch : 7.0
2024-04-14 17:12:52 +02:00
Cédric Krier e9c214e303 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 : 7.0
2024-04-14 11:07:33 +02:00
Cédric Krier 0e197d5eec 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 : 7.0
2024-04-14 10:56:27 +02:00
Cédric Krier 3d976ba795 Test if current view is defined on screen before using it
Closes #13178
(grafted from 6f0ae4c7719fbf129ffd0221aa9b1fa008df23e2)

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

--HG--
branch : 7.0
2024-04-13 15:04:45 +02:00
Cédric Krier e41c237bc0 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 : 7.0
2024-04-13 15:00:52 +02:00
Cédric Krier 00757cfb12 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 : 7.0
2024-04-13 13:52:43 +02:00