Cédric Krier pushed to branch branch/7.0 at Tryton / Tryton
Commits: c8fa2d94 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) - - - - - e2b63ed1 by Cédric Krier at 2024-03-26T11:20:07+01:00 Do not set current record to the first id if the list is empty Closes #13130 (grafted from 61da30b168e7a11392ac235bea43460bbb998873) - - - - - ecb72785 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) - - - - - d18a08e1 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) - - - - - c4f31b25 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) - - - - - cedf044b 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) - - - - - e27e2ac7 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) - - - - - 8ab1655e by Cédric Krier at 2024-03-15T09:50:08+01:00 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) - - - - - 51a83155 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) - - - - - 559390ed 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) - - - - - cdb4c66a 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) - - - - - 05371911 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) - - - - - 2634a063 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) - - - - - faf9f972 by Cédric Krier at 2024-04-02T00:34:25+02:00 Do not commit new transaction for database error processing (grafted from 15d80de804c51a5557fae817f697201f08abfa99) - - - - - e1f9dddd by Cédric Krier at 2024-03-25T10:17:35+01:00 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) - - - - - 3eece060 by Cédric Krier at 2024-03-30T11:32:22+01:00 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) - - - - - e1fabed4 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) - - - - - d16aa74c 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) - - - - - 52a8f992 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) - - - - - 25 changed files: - modules/account/account.py - modules/account_invoice/invoice.py - modules/account_payment_clearing/payment.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/tab.js - sao/src/view/tree.js - sao/src/window.js - sao/tests/sao.js - tryton/tryton/gui/window/form.py - 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/76b6956b21191b720814bfacf920ff58687b9510...52a8f9923b726e4ea1819892a1a0a9522cfbfedc -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/compare/76b6956b21191b720814bfacf920ff58687b9510...52a8f9923b726e4ea1819892a1a0a9522cfbfedc You're receiving this email because of your account on foss.heptapod.net.
