Commit Graph
58281 Commits
Author SHA1 Message Date
Cédric Krier 0e8b758d27 Store readonly attribute on Screen with a default value
Otherwise the attribute value may be undefined instead of being a boolean.

Closes #13324
(grafted from c0feae75063f1daac6b3c8017f165aaca3858922)

--HG--
branch : 7.0
2024-06-10 17:17:27 +02:00
Cédric Krier 743ed500fc Always update state of delete and undelete buttons in window form
Closes #13323
(grafted from 377fcba9fba2d39973067915f72848fd01bce7ed)

--HG--
branch : 7.0
2024-06-10 17:13:03 +02:00
Cédric Krier d3e43195f4 Use only the readonly from group in Window Form
Since 12e08efd3872 the readonly of the Screen depends on the selected records.
But we still wants to save the modification from the Window Form even if a
deleted record is selected.

Closes #13321
(grafted from ff288e977366b41700c6da6f7131b0e9520e363b)

--HG--
branch : 7.0
2024-06-10 17:09:41 +02:00
Cédric Krier 26d4cf09cf Set 100% width to input-group of form-text and form-richtext
Otherwise if the widget is not translated, the textarea does not expand.

Closes #13320
(grafted from 2ebdb3a1dc2dd516cf99186c29278d41081aa689)

--HG--
branch : 7.0
2024-06-10 17:02:56 +02:00
Cédric Krier 2688ac1cf6 Set EV_BACKENDS_DIR to the backends directory of evince
Closes #13309
(grafted from 190fb5c8b47039b26c4870ec45c332fe6b7e5409)

--HG--
branch : 7.0
2024-06-07 20:48:09 +02:00
Cédric Krier e2645f26c9 Use file from the Binary field to display document
On Windows the file used to create the Evince document must be kept after the
initialization.
Also reusing the file cache mechanism of the Binary field, prevents to create
temporary files on each call of display.
Evince document needs to have the proper extension to be sure to load the
proper backend. So the cache file must be retrieved with the requested
extension.
And finally we use Document.factory_get_document_full so if leading with the
filename extension does not work, it will try to guess from the data.

Closes #13307
(grafted from 34deeaf3c0215f793c3e673de3ee2e04971ebee4)

--HG--
branch : 7.0
2024-06-07 20:42:40 +02:00
Cédric Krier 595047abba Do not correct normalized delta when start date is February 29
Closes #13310
(grafted from 24e4858afe729f717eb6882837808ce479f9dfdc)

--HG--
branch : 7.0
2024-06-08 12:10:40 +02:00
Cédric Krier 1a28d9f6d7 Apply access rules when searching for draft production moves in the past
Closes #13284
(grafted from 0ae54bb4fbb239224c56e3d60645fbb62183ed56)

--HG--
branch : 7.0
2024-05-27 23:34:31 +02:00
Cédric Krier 5978d646b5 Test Shopify fulfillment status to be fulfilled when backorder is cancelled
Shopify has changed the fulfillment status when products are removed from the
order.

Closes #13221
(grafted from 142789f046cbce100fdb888436ba3e8d667cd8b1)

--HG--
branch : 7.0
2024-06-08 13:29:30 +02:00
Cédric Krier 182e0a575b Exclude records without dtstart or dtend from calendar view
Closes #13302
(grafted from f41e0738102a99a92027a140cc1859d406adae3e)

--HG--
branch : 7.0
2024-06-06 10:01:55 +02:00
Cédric Krier e6de5707b5 Bind callback to the attachment window when dropping file as attachment
Closes #13182
(grafted from 6daccd38708b131c06145d7a698151040a8fd5db)

--HG--
branch : 7.0
2024-06-05 18:38:58 +02:00
Cédric Krier 9363eafb87 Do not test file exists when opening it
The file_open tools may be used to create a file so it may not yet exist.
Also io.open will raise the proper exception if the file can not be open.

Closes #13230
(grafted from ad09f3e55f6f7bd6767ea44d03566322fce6b487)

--HG--
branch : 7.0
2024-05-01 20:03:17 +02:00
Cédric Krier 270851ad9f Use empty string as fallback value for module path
The module path is used later to join path so it must be a string.

Closes #13229
(grafted from 1cbc97959ca439d5ac1335240863ca8104c41969)

--HG--
branch : 7.0
2024-05-01 19:59:17 +02:00
Cédric Krier 704a61e328 Increase version number
--HG--
branch : 7.0
2024-06-15 11:13:15 +02:00
Cédric Krier fadf966884 Add tag account-7.0.10
--HG--
branch : 7.0
2024-06-15 11:13:04 +02:00
Cédric Krier a0e30beac7 Prepare release account-7.0.10
--HG--
branch : 7.0
2024-06-15 11:13:02 +02:00
Cédric Krier 2f6ea76e41 Increase version number
--HG--
branch : 7.0
2024-06-15 11:12:17 +02:00
Cédric Krier 362e831bc7 Add tag party-7.0.3
--HG--
branch : 7.0
2024-06-15 11:12:09 +02:00
Cédric Krier b722a9f268 Prepare release party-7.0.3
--HG--
branch : 7.0
2024-06-15 11:12:07 +02:00
Cédric Krier 363e3cfd2e Increase version number
--HG--
branch : 7.0
2024-06-15 11:11:25 +02:00
Cédric Krier c2b432063c Add tag sale_supply-7.0.6
--HG--
branch : 7.0
2024-06-15 11:11:17 +02:00
Cédric Krier 30fcf1f16f Prepare release sale_supply-7.0.6
--HG--
branch : 7.0
2024-06-15 11:11:16 +02:00
Cédric Krier 4ee8a0ef20 Increase version number
--HG--
branch : 7.0
2024-06-15 11:10:33 +02:00
Cédric Krier 7ede853277 Add tag web_shop-7.0.2
--HG--
branch : 7.0
2024-06-15 11:10:25 +02:00
Cédric Krier 3be350507d Prepare release web_shop-7.0.2
--HG--
branch : 7.0
2024-06-15 11:10:24 +02:00
Cédric Krier 58e387f9b2 Increase version number
--HG--
branch : 7.0
2024-06-15 11:05:57 +02:00
Cédric Krier 8a1c4ed24c Add tag sao-7.0.12
--HG--
branch : 7.0
2024-06-15 11:05:51 +02:00
Cédric Krier 8429876bd7 Prepare release sao-7.0.12
--HG--
branch : 7.0
2024-06-15 11:05:50 +02:00
Cédric Krier 977205587b Increase version number
--HG--
branch : 7.0
2024-06-15 11:02:53 +02:00
Cédric Krier 354ccb990d Add tag trytond-7.0.13
--HG--
branch : 7.0
2024-06-15 11:02:35 +02:00
Cédric Krier 3ac659091c Prepare release trytond-7.0.13
--HG--
branch : 7.0
2024-06-15 11:02:34 +02:00
Cédric Krier e1e251fa89 Do not convert to False when importing translated translated which is empty
Closes #13276
(grafted from 6e744a5da63179ef8f8d2bc2ed69e6188163d618)

--HG--
branch : 7.0
2024-05-22 18:07:32 +02:00
Cédric Krier e819fdb342 Fallback to normalized email if there is no ascii available
Closes #13241
(grafted from b8ab4d03b1089a1c7d59ed739cbd816a0e3da67b)

--HG--
branch : 7.0
2024-05-07 16:56:51 +02:00
Cédric Krier 791f8eb2e5 Return proper dictionary structure for instance getter with names
Closes #13136
(grafted from 750be7004ae5eb040ec870cfeea3cea762a6caa0)

--HG--
branch : 7.0
2024-05-20 23:16:39 +02:00
Cédric Krier 9818cab01d Do not rely on assigned quantity to supply on stock first
Closes #13279
(grafted from 9f8439bce62dff9e6f59b9cf1b0851c58171d9a4)

--HG--
branch : 7.0
2024-05-24 15:20:43 +02:00
Cédric Krier 5b1569191a Do not commit readonly transaction even with channel
Even if the backend allows NOTIFY query on readonly transaction, it is strange
to commit readonly transaction because the backend may not enforce the
readonly.
Also commit performs other actions that may not be wanted like commit
datamanager or clear cache.
A procedure that requires to perform a NOTIFY should have a non-readonly
transaction.

Closes #12542
(grafted from 03611153e9bc9a0d169447c4ca946ad49c81ad47)

--HG--
branch : 7.0
2024-05-23 14:22:42 +02:00
Cédric Krier 73e0fd78c8 Use a readonly transaction to load module without update
Closes #12542
(grafted from 62775217456fe35fcc19a49d527f3baba67b0149)

--HG--
branch : 7.0
2024-05-23 14:18:51 +02:00
Cédric Krier ad7d1386d8 Remove print statement when catching check vies exceptions
(grafted from e4fd001b95e98bf97a4213ac2c5711dbeabc1764)

--HG--
branch : 7.0
2024-05-23 14:23:52 +02:00
Cédric Krier 730132a931 Put textarea and richtext under an input-group
If the widget is translatable, the translate button is an input-group-btn
which must be under the same input-group as the principal input.

Closes #13238
(grafted from 20af97ade53035f1c725cb2600e9abbb2664f664)

--HG--
branch : 7.0
2024-05-14 19:44:39 +02:00
Cédric Krier dd9abf6119 Allow web_shop as key for product image
Closes #13258
(grafted from 22fde2599352ec0ccac111265f45d9caa9d82af4)

--HG--
branch : 7.0
2024-05-14 15:25:22 +02:00
Cédric Krier d96e7d1f14 Always return a promise from _update_completion
Closes #13280
(grafted from e34aac35364fb57cfd13978e17e4984fd70b3a74)

--HG--
branch : 7.0
2024-05-25 20:40:56 +02:00
Cédric Krier b7adb7ba77 Sort posted lines to reconcile at last by party
The lines may or may not have a party depending on the account.
So the order key must avoid compare party instance with None value.

Closes #13268
(grafted from 97e730164485c038de7744ea0a3fb189fd7426fa)

--HG--
branch : 7.0
2024-05-21 10:12:46 +02:00
Cédric Krier d769ff636c Increase version number
--HG--
branch : 7.0
2024-06-02 20:15:41 +02:00
Cédric Krier df59a02643 Add tag currency-7.0.1
--HG--
branch : 7.0
2024-06-02 20:15:33 +02:00
Cédric Krier 45e778c483 Prepare release currency-7.0.1
--HG--
branch : 7.0
2024-06-02 20:15:31 +02:00
Cédric Krier 436b63c30b Increase version number
--HG--
branch : 7.0
2024-06-02 19:40:10 +02:00
Cédric Krier 73cbaa0f63 Add tag account-7.0.9
--HG--
branch : 7.0
2024-06-02 19:39:59 +02:00
Cédric Krier a9027d8363 Prepare release account-7.0.9
--HG--
branch : 7.0
2024-06-02 19:39:58 +02:00
Cédric Krier 07737363cc Increase version number
--HG--
branch : 7.0
2024-06-02 19:12:06 +02:00
Cédric Krier 769239a038 Add tag account_es-7.0.2
--HG--
branch : 7.0
2024-06-02 19:11:57 +02:00