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


Commits:
f717e935 by Nicolas Évrard at 2023-11-03T19:07:11+01:00
Filter history lines matching search when they're too old

Closes #12687
(grafted from f7ff1a181c0d031ea10fea722fa781885f0aec73)
- - - - -
637ef292 by Cédric Krier at 2023-11-16T16:32:43+01:00
Update trees of chart of accounts with 2 passes

When a new parent is added to a tree template like types, taxes or tax codes,
the corresponding record of the new template parent is not yet created.
So we need to use a default value for the parent and update again the tree
after creating the new records.

Closes #12755
(grafted from 561f9c7dbdc2a2c39c1fe5f6bf7274d01ee9ebd6)
- - - - -
78540e4b by Cédric Krier at 2023-11-29T15:12:05+01:00
Do not fail on missing colli_tracking_number in Sendcloud parcels

Closes #12782
(grafted from b83e773521e3311566568a099a4c134d7528751e)
- - - - -
d99ed8fc by Cédric Krier at 2023-11-26T17:12:40+01:00
Limit size of database cache dump to 40 chars

Each backend has their limit. 40 chars is picked as limit to match the size of
mercurial hash.

Closes #12754
(grafted from 3055098129d4afbf82af5fa527e3d3e357ea7021)
- - - - -
0608cac7 by Nicolas Évrard at 2023-11-16T23:37:19+01:00
Do not start threads before the end of the evaluation of trytond.application

When uwsgi forks workers it can happen that python execute the code from one of
the launched thread (eg: the cache listener or trytond-status). In that case
python will keep executing the thread and never switch to the main thread. Thus
preventing to listen for incoming connections.

Closes #12758
(grafted from d51b0990639d7ca0ac289dc08f56fd84a14e3e89)
- - - - -
74ebe187 by Cédric Krier at 2023-12-03T01:51:48+01:00
Do not scroll into view empty element

Closes #12783
(grafted from e02eedcfbf4771b9388566152d0f56c4c3e19945)
- - - - -
0d4b68ee by Cédric Krier at 2023-11-30T15:59:31+01:00
Always round unit price when recomputing it for stock move

Closes #12787
(grafted from 9130db2731ef76ada9b4877650a4b56ffe997318)
- - - - -
c2ee4440 by Cédric Krier at 2023-12-01T09:54:40+01:00
Retry to send email when server unexpectedly disconnect

Closes #12790
(grafted from fc0afccf55b95644352655d8c081713df77d1662)
- - - - -
ceca8bcf by Cédric Krier at 2023-11-14T00:00:15+01:00
Do not force value for single list on multi-value field

Fields based on multi-value must not be forced to the single value of a list.

Closes #12737
(grafted from c320a786923f19e138459d9a128c7d8cb097f1b1)
- - - - -
955fd604 by Cédric Krier at 2023-11-14T00:05:17+01:00
Validate field set later

Closes #12739
(grafted from 31958cc6bbae3c46dbaeb919221ceb317f5e2ccc)
- - - - -
44eec67e by Cédric Krier at 2023-11-14T00:05:51+01:00
Set One2Many fields later

Closes #12740
(grafted from 7bbf9b5e4c5d1aa2c4c6ada3220e5379249dcf1d)
- - - - -
8754d9eb by Cédric Krier at 2023-11-14T00:31:12+01:00
Render button as readonly in tryton list if the record is readonly

Closes #12741
(grafted from b11135a06b2ee04f0ef27f431a44e638d55675a3)
- - - - -
2635d655 by Cédric Krier at 2023-11-14T14:25:04+01:00
Do not disable button and action on readonly records

Backed out changeset 0e988bac37ba

Closes #12651
(grafted from 2bb1b8dc3838abf03356529aa1c8505f3db58b0f)
- - - - -
7154b059 by Cédric Krier at 2023-12-01T20:55:20+01:00
Do not clear log_records of Transaction if it is empty

When the transaction fails to start, the log_records may still be None.

Closes #12793
(grafted from 38529e19445ef6520a0e4f442c8bd07acc6d10cc)
- - - - -
77365312 by Hartmut Goebel at 2023-11-19T12:16:03+01:00
Make state node of workflow graph unique

Quite a few model have states with the same name (e.g. "open",
"close).  When creating Workflow Graphs for several of these models at
once, the nodes of these states must be distinguished.  Otherwise the
graphs will overlap and eventually even overwrite each other.

Closes #12253
(grafted from 91a09102ec61a08f57868bc9f030fdcb9ab831c8)
- - - - -
9df7e37e by Cédric Krier at 2023-12-05T10:28:35+01:00
Strip generated code of product

The template code or product suffix code allow to have trailing and leading
spaces but not the code of the product. So we must compare the code with a
stripped version of the generated code to avoid infinite loop.

Closes #12801
(grafted from 79e4677f878eaedbaa882af75f450cfc9958624b)
- - - - -
2fa30b7a by Cédric Krier at 2023-12-10T23:32:43+01:00
Do not compute domain inversion when displaying column that is not a field

Since c320a786923f the field is needed to compute domain inversion so we
should not compute domain inversion for non field.

Closes #12814
(grafted from fe581cde6705c4b2e7bad61894e0b3098ede65f3)
- - - - -


30 changed files:

- modules/account/account.py
- modules/account/tax.py
- modules/account/tests/test_module.py
- modules/account_invoice_stock/stock.py
- modules/product/product.py
- modules/product/tests/scenario_product_variant.rst
- modules/product_kit/stock.py
- modules/stock_package_shipping_sendcloud/stock.py
- sao/src/common.js
- sao/src/model.js
- sao/src/screen.js
- sao/src/tab.js
- sao/src/view/tree.js
- sao/tests/sao.js
- tryton/tryton/common/button.py
- tryton/tryton/common/domain_inversion.py
- tryton/tryton/gui/window/form.py
- tryton/tryton/gui/window/view_form/model/field.py
- tryton/tryton/gui/window/view_form/model/record.py
- tryton/tryton/gui/window/view_form/screen/screen.py
- tryton/tryton/gui/window/view_form/view/list.py
- trytond/trytond/cache.py
- trytond/trytond/config.py
- trytond/trytond/ir/model.py
- trytond/trytond/model/modelsql.py
- trytond/trytond/sendmail.py
- trytond/trytond/status.py
- trytond/trytond/tests/test_tools.py
- trytond/trytond/tests/test_tryton.py
- trytond/trytond/tools/domain_inversion.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e99fde127cebd16585cfe8f2a9ae862784cbe8c5...2fa30b7a944d0c14d7363693c07828706bf04b69

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e99fde127cebd16585cfe8f2a9ae862784cbe8c5...2fa30b7a944d0c14d7363693c07828706bf04b69
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to