Commit Graph
57988 Commits
Author SHA1 Message Date
Cédric Krier 50c9dd34e0 Do not round Decimal to validate digits
Decimal may raise an InvalidOperation error if the context does not allow the
needed precision.
But rounding is not necessary for Decimal as we can just test the exponent
from the tuple version.

Closes #13138
(grafted from 776889be97e4c1b8917a9090338511d8008c625b)

--HG--
branch : 7.0
2024-03-28 09:25:55 +01:00
Cédric Krier e8794458f1 Fix typo when processing refund on charge refund updated webhook from Stripe
Closes #13137
(grafted from 97365472565f7863c23a576e7d1eaf92f78ef0d0)

--HG--
branch : 7.0
2024-03-27 19:38:52 +01:00
Cédric Krier d771ed9402 Do not set current record to the first id if the list is empty
Closes #13130
(grafted from 61da30b168e7a11392ac235bea43460bbb998873)

--HG--
branch : 7.0
2024-03-26 11:20:07 +01:00
Cédric Krier c537c25fe1 Use duck typing to convert single UPS package into a list
It seems that UPS has fixed its API such that it always returns a list for
PackageResults but it is still better to test the actual result.

Closes #13116
(grafted from 5aeb838f993f9d5e55c10a4b24f9ad6cd67eae55)

--HG--
branch : 7.0
2024-03-21 16:55:01 +01:00
Cédric Krier 01ad452523 Consider sale or purchase as done when states are none and methods are not manual
This partially reverts 87d1b5dd99c6 and cc3f0e8968a4 to base the state on the
methods instead of the quantity.

Closes #13154

--HG--
branch : 7.0
2024-04-02 15:33:01 +02:00
Cédric Krier ed67a66607 Increase version number
--HG--
branch : 7.0
2024-04-04 09:53:46 +02:00
Cédric Krier a0dc04a0aa Add tag account-7.0.5
--HG--
branch : 7.0
2024-04-04 09:53:35 +02:00
Cédric Krier e54b86ac80 Prepare release account-7.0.5
--HG--
branch : 7.0
2024-04-04 09:53:33 +02:00
Cédric Krier b58c388ddc Increase version number
--HG--
branch : 7.0
2024-04-04 09:52:53 +02:00
Cédric Krier 67a88e5a95 Add tag account_es-7.0.1
--HG--
branch : 7.0
2024-04-04 09:52:45 +02:00
Cédric Krier 7144de54fc Prepare release account_es-7.0.1
--HG--
branch : 7.0
2024-04-04 09:52:44 +02:00
Cédric Krier 443a0cc5a5 Increase version number
--HG--
branch : 7.0
2024-04-04 09:51:35 +02:00
Cédric Krier 7dbcadc1e2 Add tag account_invoice-7.0.3
--HG--
branch : 7.0
2024-04-04 09:51:24 +02:00
Cédric Krier b3cd9f4825 Prepare release account_invoice-7.0.3
--HG--
branch : 7.0
2024-04-04 09:51:23 +02:00
Cédric Krier 76b05ac12a Increase version number
--HG--
branch : 7.0
2024-04-04 09:50:43 +02:00
Cédric Krier 2d6efc8e25 Add tag purchase-7.0.2
--HG--
branch : 7.0
2024-04-04 09:50:32 +02:00
Cédric Krier 98285e4c14 Prepare release purchase-7.0.2
--HG--
branch : 7.0
2024-04-04 09:50:31 +02:00
Cédric Krier 0c0628ef5f Increase version number
--HG--
branch : 7.0
2024-04-04 09:49:46 +02:00
Cédric Krier ebd58d68b7 Add tag sale-7.0.2
--HG--
branch : 7.0
2024-04-04 09:49:37 +02:00
Cédric Krier 9bdc2735ee Prepare release sale-7.0.2
--HG--
branch : 7.0
2024-04-04 09:49:36 +02:00
Cédric Krier 324ca56d73 Increase version number
--HG--
branch : 7.0
2024-04-04 09:47:52 +02:00
Cédric Krier cf035287b7 Add tag stock-7.0.4
--HG--
branch : 7.0
2024-04-04 09:47:39 +02:00
Cédric Krier 79dbb72880 Prepare release stock-7.0.4
--HG--
branch : 7.0
2024-04-04 09:47:38 +02:00
Cédric Krier 146ccd3999 Increase version number
--HG--
branch : 7.0
2024-04-04 09:46:31 +02:00
Cédric Krier dfc4cfbc4d Add tag stock_supply-7.0.2
--HG--
branch : 7.0
2024-04-04 09:46:23 +02:00
Cédric Krier b9387bb0d0 Prepare release stock_supply-7.0.2
--HG--
branch : 7.0
2024-04-04 09:46:22 +02:00
Cédric Krier 5c2a90afac Increase version number
--HG--
branch : 7.0
2024-04-04 09:41:44 +02:00
Cédric Krier 43ca054697 Add tag sao-7.0.9
--HG--
branch : 7.0
2024-04-04 09:41:36 +02:00
Cédric Krier 33609f2b75 Prepare release sao-7.0.9
--HG--
branch : 7.0
2024-04-04 09:41:35 +02:00
Cédric Krier 3d1e5daa02 Increase version number
--HG--
branch : 7.0
2024-04-04 09:40:11 +02:00
Cédric Krier 74ecd74775 Add tag tryton-7.0.8
--HG--
branch : 7.0
2024-04-04 09:39:58 +02:00
Cédric Krier 20a8aa4289 Prepare release tryton-7.0.8
--HG--
branch : 7.0
2024-04-04 09:39:57 +02:00
Cédric Krier 05da1a327a Increase version number
--HG--
branch : 7.0
2024-04-04 09:37:49 +02:00
Cédric Krier eb0e561c0e Add tag trytond-7.0.9
--HG--
branch : 7.0
2024-04-04 09:37:32 +02:00
Cédric Krier e0ff82e073 Prepare release trytond-7.0.9
--HG--
branch : 7.0
2024-04-04 09:37:31 +02:00
Cédric Krier fca56bf808 Put gir libraries under lib also for Windows
cf5adeee978b did it for darwin but it is also useful for Windows to avoid
duplicate dlls.
(grafted from 44cacb4235be628f9d3ab902e4d72e9a9b8d3381)

--HG--
branch : 7.0
2024-03-23 18:17:05 +01:00
Cédric Krier 8e0ad6f51d Do not include locale of build system
They should not be needed as tryton uses only its own strings.
(grafted from 6ab2bf23e580b4df2a2bb488dab96286f8ebfccb)

--HG--
branch : 7.0
2023-11-04 19:52:58 +01:00
Cédric Krier 4b40f0a5ec Do not copy tryton data and plugins in frozen build
Since d94c92c1de67 the library is no more compressed so those package data are
already in the usual place.
(grafted from 867d962ffbe4657643961554fefc952eb007d9f7)

--HG--
branch : 7.0
2023-11-04 19:51:52 +01:00
Cédric Krier 722670401e Include shared libraries in lib folder for darwin build
cx_Freeze 6.15.10 store included files in Resources folder and make a symlink
in MacOS folder for lib and share.
So we must include shared libraries in the lib folder to be available.
(grafted from cf5adeee978b9ff2de9fc2229c9cd82c63b98302)

--HG--
branch : 7.0
2023-11-04 19:48:03 +01:00
Cédric Krier e938226dd0 Replace etc directory by share for frozen build
cx_Freeze 6.15.10 store included files in Resources folder and make a symlink
in MacOS folder for lib and share.
So we need to store etc content in share to be available.
(grafted from c9bb18c11e4a736c4ada1ea9f740ec8609dc3590)

--HG--
branch : 7.0
2023-11-04 19:44:09 +01:00
Cédric Krier 7969ed8122 Set cursor when displaying screen to select new record after copy
Closes #12820
(grafted from a7351854b34b147aad65e0e7ca86666ba76b68ac)

--HG--
branch : 7.0
2024-03-22 12:52:19 +01:00
Sergi Almacellas Abellana f12d0ac875 Set current record after copying records
Since ab82d479eca1 the current record is no longer set on load call

Closes #12820
(grafted from 5aa9aba0e3cc2cc0dabbd672558e2947eb90336a)

--HG--
branch : 7.0
2024-03-11 12:18:19 +01:00
Cédric Krier 9e3b2031ec Revoke URLs of loaded icons
Closes #13095
(grafted from ee2fee1a4b3019a5e4bff38e830a751d9c4d0976)

--HG--
branch : 7.0
2024-03-10 01:09:35 +01:00
Cédric Krier 26db6c6a8b Do not set sale nor purchase in exception for invoice with cancel move
Cancelled invoices with a cancel move should be considered as paid.

Closes #13085
(grafted from 9d82512f29e0e84ab3bb899cc1e4216e42718908)

--HG--
branch : 7.0
2024-03-08 12:36:57 +01:00
Cédric Krier b6409b7598 Set invoice line state to paid when invoice is cancelled with cancel move
Such invoice line should be considered as booked for example to compute the
invoiced quantity of stock move.

Closes #13085
(grafted from cfd02fdbd6781576e47fd92a9720049c01a1e498)

--HG--
branch : 7.0
2024-03-08 12:29:03 +01:00
Cédric Krier 369dcdf92a Expand form container to fill all parent spaces
Closes #13073
(grafted from 882083de49d111b61d7e525e0fb0f8f43fa13835)

--HG--
branch : 7.0
2024-03-05 15:18:03 +01:00
Cédric Krier 850d8684f4 Do not delete purchase request with a purchase line when supply stock
The design does not ensure that draft purchase request can not be linked to a
purchase line.

Closes #12974
(grafted from 88d4acee578219e8c193b56ceb5a4f3bf3d7b1aa)

--HG--
branch : 7.0
2024-02-05 23:15:21 +01:00
Cédric Krier 9dbda95f41 Add auto-detected fields with drag and drop handler
Closes #13082
(grafted from c52d2403d6690ac2b83c6cd381b7760cbf40fe58)

--HG--
branch : 7.0
2024-03-07 13:06:11 +01:00
Cédric Krier 1c71b616b4 Set height to 100% for text and richtext
Closes #13058
(grafted from aed32f1a6abe0eab0d7c0e26402a52fe99ebd713)

--HG--
branch : 7.0
2024-02-25 13:40:59 +01:00
Cédric Krier d206eacc80 Set empty currency when reconcile no lines
Since f9560247a0fc the currency for the reconciled lines is computed but when
there is no line, there is no company to get currency from.

Closes #13047
(grafted from 989480b8ceea3d0d9d6a344c5d8ec1fb293597d9)

--HG--
branch : 7.0
2024-03-02 11:39:29 +01:00