Cédric Krier pushed to branch branch/6.8 at Tryton / Tryton


Commits:
81a6c436 by Cédric Krier at 2024-03-21T16:55:01+01:00
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)
- - - - -
aa1f5ac1 by Cédric Krier at 2024-03-27T19:38:52+01:00
Fix typo when processing refund on charge refund updated webhook from Stripe

Closes #13137
(grafted from 97365472565f7863c23a576e7d1eaf92f78ef0d0)
- - - - -
a744bf4a by Cédric Krier at 2024-03-28T09:25:55+01:00
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)
- - - - -
e0423327 by Cédric Krier at 2024-04-01T12:27:33+02:00
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)
- - - - -
bbf327b7 by Cédric Krier at 2024-04-01T16:18:13+02:00
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)
- - - - -
05a3388d by Cédric Krier at 2024-04-01T15:16:31+02:00
Include advance payment invoices when searching by sales

Closes #13148
(grafted from 078410b3e2abd2b1a8e685d6109937dab076c3c6)
- - - - -
67dd7b5f by Nicolas Évrard at 2024-03-11T12:43:53+01:00
Instantiate PYSON.Bool expression with new from PYSON.Not instances

Closes #13177
(grafted from 1d8a5b96e3b2d099c0009bc16e18e77cfb860134)
- - - - -
641890ef by Nicolas Évrard at 2024-03-11T16:35:39+01:00
Use PYSON's Bool evaluation for PYSON's Not evaluation

Closes #13096
(grafted from 009133813b11f264b5e038dc9c5912dc9e0101cb)
- - - - -
bd90261e by Cédric Krier at 2024-03-17T11:36:24+01:00
Use min date as default From Date for start amount of general ledger

Closes #12660
(grafted from 06bc271a0d51d43f06306dc2c872ccd07979d50d)
- - - - -
cdf6505b by Cédric Krier at 2024-03-21T09:47:45+01:00
Use format from server locale as fallback for date in graph view

Closes #13112
(grafted from e775636be6cacf93c9250070ce9b17e40977075f)
- - - - -
b804aed8 by Cédric Krier at 2024-03-25T00:19:23+01:00
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)
- - - - -
f6c3b86b by Cédric Krier at 2024-04-02T00:34:25+02:00
Do not commit new transaction for database error processing
(grafted from 15d80de804c51a5557fae817f697201f08abfa99)
- - - - -
cb9b2d7c by Cédric Krier at 2024-04-02T16:39:06+02:00
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)
- - - - -
d571ebc2 by Cédric Krier at 2024-04-02T16:47:01+02:00
Do not deduce current payment from the amount of the sale

Closes #13157
(grafted from 4222a311839fe3341a27e9c2be3d931403802be3)
- - - - -
70c87ca0 by Cédric Krier at 2024-04-04T12:51:18+02:00
Reset sales to state quotation to avoid duplicate log entries

Closes #13159
(grafted from 069e07eabef38b4420a68e223a8afe061a9a0a55)
- - - - -


20 changed files:

- modules/account/account.py
- modules/account_payment_stripe/payment.py
- modules/account_statement_mt940/account.py
- modules/sale_advance_payment/account.py
- modules/sale_extra/sale.py
- modules/sale_payment/account.py
- modules/stock_package_shipping_ups/stock.py
- sao/src/pyson.js
- sao/src/window.js
- sao/tests/sao.js
- tryton/tryton/gui/window/view_form/view/graph_gtk/graph.py
- tryton/tryton/gui/window/win_form.py
- tryton/tryton/pyson.py
- trytond/trytond/ir/cron.py
- trytond/trytond/model/modelsql.py
- trytond/trytond/model/modelstorage.py
- trytond/trytond/pyson.py
- trytond/trytond/tests/test_cache.py
- trytond/trytond/tests/test_field_numeric.py
- trytond/trytond/tests/test_pyson.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/3bf5e6c567ae6cd50570506585f33f694b0cf1ff...70c87ca0ae4970a1500bbb20932840e9c2948d39

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/3bf5e6c567ae6cd50570506585f33f694b0cf1ff...70c87ca0ae4970a1500bbb20932840e9c2948d39
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to