Commit Graph
58607 Commits
Author SHA1 Message Date
Cédric Krier e462c52dff Add tag trytond-7.0.10
--HG--
branch : 7.0
2024-04-17 12:27:39 +02:00
Cédric Krier 602eb45e07 Prepare release trytond-7.0.10
--HG--
branch : 7.0
2024-04-17 12:27:38 +02:00
Cédric Krier 16d36f2390 Do not accept compressed content from unauthenticated request
Closes #13142
(grafted from 1923117e935de62276352585185ced6d854bcb3d)

--HG--
branch : 7.0
2024-04-17 10:19:58 +02:00
Cédric Krier f0f0d9b7f1 Update precision of cost price test from modification under stock continental accounting
Since 0809f9f56c4e the modified cost price is rounded with the price
precision.

Closes #13041
(grafted from 10c6c8773040b6b6035753fd6c2f91efbcc094d9)

--HG--
branch : 7.0
2024-04-01 14:04:52 +02:00
Cédric Krier de24928032 Reset sales to state quotation to avoid duplicate log entries
Closes #13159
(grafted from 069e07eabef38b4420a68e223a8afe061a9a0a55)

--HG--
branch : 7.0
2024-04-04 12:51:18 +02:00
Cédric Krier 786f0ad5ef Do not deduce current payment from the amount of the sale
Closes #13157
(grafted from 4222a311839fe3341a27e9c2be3d931403802be3)

--HG--
branch : 7.0
2024-04-02 16:47:01 +02:00
Cédric Krier 8f320389a3 Return False on the callback on readonly window Form
When a readonly Form is closed, the callback result should always be False as
the opened record has not changed.

Closes #13156
(grafted from 9ad99fba8a531f2456d1808f32fe3b9fbc598f2e)

--HG--
branch : 7.0
2024-04-02 16:39:06 +02:00
Cédric Krier 3e057b5865 Enforce clearing account type only on draft payment
As the receivable, payable type may evolve over time, only draft state should
enforce it.

Closes #13145
(grafted from b328583085791f9873ce068c48e62e5d55a3d5b7)

--HG--
branch : 7.0
2024-03-30 11:32:22 +01:00
Cédric Krier 0a30314a89 Set posting employee only when using button
As the posted by employee field can not be modified once the invoice is
posted, the employee must be set only when it is an action of the user.
On processing the invoice, it is the internal posting method that must be used
so no employee is set nor any other warning checks.

Closes #13124
(grafted from 361b4624d10c7173ce439329d72e37d7fa02d00b)

--HG--
branch : 7.0
2024-03-25 10:17:35 +01:00
Cédric Krier ab9d451c40 Do not commit new transaction for database error processing
(grafted from 15d80de804c51a5557fae817f697201f08abfa99)

--HG--
branch : 7.0
2024-04-02 00:34:25 +02:00
Cédric Krier b07676e5ac Wrap transaction description into a single line to store as origin description
Since a2f811ed0e99 it is not allowed to store multiline in Char field.

Closes #13123
(grafted from 8c8e5c013a7ba90d85ebb39e7b74cb8a4dbe4e2d)

--HG--
branch : 7.0
2024-03-25 00:19:23 +01:00
Cédric Krier d818d9cb5c Use format from server locale as fallback for date in graph view
Closes #13112
(grafted from e775636be6cacf93c9250070ce9b17e40977075f)

--HG--
branch : 7.0
2024-03-21 09:47:45 +01:00
Cédric Krier 9956e2f1e3 Use min date as default From Date for start amount of general ledger
Closes #12660
(grafted from 06bc271a0d51d43f06306dc2c872ccd07979d50d)

--HG--
branch : 7.0
2024-03-17 11:36:24 +01:00
Nicolas Évrard 87b1e66f67 Use PYSON's Bool evaluation for PYSON's Not evaluation
Closes #13096
(grafted from 009133813b11f264b5e038dc9c5912dc9e0101cb)

--HG--
branch : 7.0
2024-03-11 16:35:39 +01:00
Nicolas Évrard b875f0cf68 Instantiate PYSON.Bool expression with new from PYSON.Not instances
Closes #13177
(grafted from 1d8a5b96e3b2d099c0009bc16e18e77cfb860134)

--HG--
branch : 7.0
2024-03-11 12:43:53 +01:00
Cédric Krier 161641c320 Force scrollbar inside xxx2Many table
On Chrome based browsers the min-content of the table inside a xxx2Many widget
is the minimal size to display all the columns.
So when this min-content size is bigger than the width of the tab, it is the
all form that get a scrollbar instead of only the tree view element.
By adding a display grid to the div containing the treeview, the min-content
is not more used by the grid-template-columns of the form-container.

Closes #13050
(grafted from 333543178a58dc1b816063dd1ad11f6d6c1f4c10)

--HG--
branch : 7.0
2024-03-15 09:50:08 +01:00
Cédric Krier 54d77e58d7 Include advance payment invoices when searching by sales
Closes #13148
(grafted from 078410b3e2abd2b1a8e685d6109937dab076c3c6)

--HG--
branch : 7.0
2024-04-01 15:16:31 +02:00
Cédric Krier 3a579caff2 Catch exception before the cron transaction is ended
To rollback the transaction must be done before the context manager calls stop
on exit.

Closes #13149
(grafted from 02ef3e349808c73a260ab7e83fea4eb66f37bd02)

--HG--
branch : 7.0
2024-04-01 16:18:13 +02:00
Cédric Krier c52843b183 Setup a database for CacheTestCase
Since 8616fb62c5e9 some tests are decorated with transaction so the test case
needs a database to run.
(grafted from b2b78cdd6c19340652eb27ceaac620c940030a5d)

--HG--
branch : 7.0
2024-04-01 12:27:33 +02:00
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