Commit Graph
57620 Commits
Author SHA1 Message Date
Cédric Krier 65f4bbd9f1 Add tag tryton-7.0.3
--HG--
branch : 7.0
2023-12-16 10:51:44 +01:00
Cédric Krier dc87dbfd7c Prepare release tryton-7.0.3
--HG--
branch : 7.0
2023-12-16 10:51:43 +01:00
Cédric Krier 877beba54a Increase version number
--HG--
branch : 7.0
2023-12-16 10:50:26 +01:00
Cédric Krier ca4352574b Add tag trytond-7.0.3
--HG--
branch : 7.0
2023-12-16 10:50:07 +01:00
Cédric Krier 372b3fe57d Prepare release trytond-7.0.3
--HG--
branch : 7.0
2023-12-16 10:50:06 +01:00
Cédric Krier e1b1491c2c 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)

--HG--
branch : 7.0
2023-12-10 23:32:43 +01:00
Cédric Krier 8ac6e71297 Always pass the field name to convert value from getter of Function field
Closes #12802
(grafted from 90893adeec8f5866375bae97084ee00080d8aeb3)

--HG--
branch : 7.0
2023-12-05 12:33:33 +01:00
Cédric Krier fb11301663 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)

--HG--
branch : 7.0
2023-12-05 10:28:35 +01:00
Hartmut Goebel d30092792a 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)

--HG--
branch : 7.0
2023-11-19 12:16:03 +01:00
Cédric Krier 9c43200825 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)

--HG--
branch : 7.0
2023-12-01 20:55:20 +01:00
Cédric Krier a7e2a981ff Hide URL button when the field is empty
The disabled attribute does not prevent the user to click on the empty link.

Closes #12747
(grafted from 644db9868199f47f12bf252c1203f6f8367fa7f0)

--HG--
branch : 7.0
2023-11-14 15:23:36 +01:00
Cédric Krier 0cc29f13b8 Do not disable button and action on readonly records
Backed out changeset 0e988bac37ba

Closes #12651
(grafted from 2bb1b8dc3838abf03356529aa1c8505f3db58b0f)

--HG--
branch : 7.0
2023-11-14 14:25:04 +01:00
Cédric Krier aef5e8d3dc Render button as readonly in tryton list if the record is readonly
Closes #12741
(grafted from b11135a06b2ee04f0ef27f431a44e638d55675a3)

--HG--
branch : 7.0
2023-11-14 00:31:12 +01:00
Cédric Krier 2903c5e1fa Set One2Many fields later
Closes #12740
(grafted from 7bbf9b5e4c5d1aa2c4c6ada3220e5379249dcf1d)

--HG--
branch : 7.0
2023-11-14 00:05:51 +01:00
Cédric Krier 63ab6f3e74 Validate field set later
Closes #12739
(grafted from 31958cc6bbae3c46dbaeb919221ceb317f5e2ccc)

--HG--
branch : 7.0
2023-11-14 00:05:17 +01:00
Cédric Krier 4afb959a07 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)

--HG--
branch : 7.0
2023-11-14 00:00:15 +01:00
Cédric Krier 71c78f93fb Retry to send email when server unexpectedly disconnect
Closes #12790
(grafted from fc0afccf55b95644352655d8c081713df77d1662)

--HG--
branch : 7.0
2023-12-01 09:54:40 +01:00
Cédric Krier 427c51902f Always round unit price when recomputing it for stock move
Closes #12787
(grafted from 9130db2731ef76ada9b4877650a4b56ffe997318)

--HG--
branch : 7.0
2023-11-30 15:59:31 +01:00
Cédric Krier b557327084 Do not scroll into view empty element
Closes #12783
(grafted from e02eedcfbf4771b9388566152d0f56c4c3e19945)

--HG--
branch : 7.0
2023-12-03 01:51:48 +01:00
Nicolas Évrard c9dbd0063d 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)

--HG--
branch : 7.0
2023-11-16 23:37:19 +01:00
Cédric Krier 51737db7ba 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)

--HG--
branch : 7.0
2023-11-26 17:12:40 +01:00
Cédric Krier 2dbf1e4ced Do not fail on missing colli_tracking_number in Sendcloud parcels
Closes #12782
(grafted from b83e773521e3311566568a099a4c134d7528751e)

--HG--
branch : 7.0
2023-11-29 15:12:05 +01:00
Cédric Krier 163ca1bb75 Set product to None on supplier invoice when product name is not found
Closes #12774
(grafted from f369536ce3bbc32f8517a8f65827b29f958ed9a7)

--HG--
branch : 7.0
2023-11-25 21:28:50 +01:00
Cédric Krier 701670f0e3 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)

--HG--
branch : 7.0
2023-11-16 16:32:43 +01:00
Cédric Krier 2fb4da22ec Select first record when refreshing attachment preview
Since ab82d479eca1 no record is set when displaying screen.

Closes #12756
(grafted from e40c63e467b0f878b54594729c7e07458f12ad71)

--HG--
branch : 7.0
2023-11-16 18:23:14 +01:00
Cédric Krier 20fa476c9c Use screen methods to activate or not the next/previous buttons of attachment preview
Closes #12756
(grafted from cf043bb57421ab47f68cf8cc41745489cf0187d4)

--HG--
branch : 7.0
2023-11-16 18:22:04 +01:00
Nicolas Évrard f12fca4187 Filter history lines matching search when they're too old
Closes #12687
(grafted from f7ff1a181c0d031ea10fea722fa781885f0aec73)

--HG--
branch : 7.0
2023-11-03 19:07:11 +01:00
Cédric Krier 7c0c4d7b09 Increase version number
--HG--
branch : 7.0
2023-12-02 00:18:37 +01:00
Cédric Krier ef614397c7 Add tag sale_point-7.0.1
--HG--
branch : 7.0
2023-12-02 00:18:29 +01:00
Cédric Krier a1fad617ca Prepare release sale_point-7.0.1
--HG--
branch : 7.0
2023-12-02 00:18:28 +01:00
Cédric Krier 4e5455db7f Increase version number
--HG--
branch : 7.0
2023-12-02 00:17:16 +01:00
Cédric Krier db38999a97 Add tag stock_product_location-7.0.1
--HG--
branch : 7.0
2023-12-02 00:17:08 +01:00
Cédric Krier 4b014e2c01 Prepare release stock_product_location-7.0.1
--HG--
branch : 7.0
2023-12-02 00:17:07 +01:00
Cédric Krier 2ec6e0a1c0 Increase version number
--HG--
branch : 7.0
2023-12-02 00:16:23 +01:00
Cédric Krier 8a91eb4a14 Add tag web_shop_shopify-7.0.1
--HG--
branch : 7.0
2023-12-02 00:16:15 +01:00
Cédric Krier 5929885016 Prepare release web_shop_shopify-7.0.1
--HG--
branch : 7.0
2023-12-02 00:16:14 +01:00
Cédric Krier 4f3279d8e8 Increase version number
--HG--
branch : 7.0
2023-12-02 00:14:57 +01:00
Cédric Krier 770f758f6e Add tag sao-7.0.2
--HG--
branch : 7.0
2023-12-02 00:14:50 +01:00
Cédric Krier 31cc35da71 Prepare release sao-7.0.2
--HG--
branch : 7.0
2023-12-02 00:14:49 +01:00
Cédric Krier be94ccac52 Increase version number
--HG--
branch : 7.0
2023-12-02 00:13:28 +01:00
Cédric Krier de119349d1 Add tag trytond-7.0.2
--HG--
branch : 7.0
2023-12-02 00:13:08 +01:00
Cédric Krier d327f20218 Prepare release trytond-7.0.2
--HG--
branch : 7.0
2023-12-02 00:13:07 +01:00
Cédric Krier f3d21bb0f4 Fix call to Sao.Logger.error
Closes #12778
(grafted from 5b24f611c7ea8f97fcc69c815111ee865ad95800)

--HG--
branch : 7.0
2023-11-27 21:35:24 +01:00
Cédric Krier 7c2bc0c08b Submit form only if scan_code is submit
Close #12764
(grafted from 92031f401afa24e63c0f85f3621ea8acaf9a0bac)

--HG--
branch : 7.0
2023-11-20 20:41:34 +01:00
Cédric Krier 4b9d992c79 Use list price instead of gross price in sale reporting
The sales are computed without taxes so the sales from point should use the
same kind of price.

Closes #12703
(grafted from e55d9430a7f816647f0a017d97a29e9dbc62ab7e)

--HG--
branch : 7.0
2023-11-03 13:00:12 +01:00
Cédric Krier b6271b19fa Use production warehouse to select product location
Closes #12765
(grafted from 97fdd352cf7217aedcdba3c907e61e4fe8c210d6)

--HG--
branch : 7.0
2023-11-21 11:35:44 +01:00
Cédric Krier a9dd98cc16 Support writing None on Shopify identifier
Closes #12760
(grafted from bb238a3b22bac533dcf5c180eefb90390766152b)

--HG--
branch : 7.0
2023-11-20 12:04:37 +01:00
Cédric Krier bedcfce09b Increase the size of expander
Closes #12733
(grafted from ea4e1936235b200489557da2212b2135fa67ddd5)

--HG--
branch : 7.0
2023-11-11 19:37:53 +01:00
Cédric Krier 87bc10f160 Prevent switching row when double click on expander
Closes #12732
(grafted from f1ce4d6a8fe85a007eae863ce9ecea181f725de7)

--HG--
branch : 7.0
2023-11-11 19:34:27 +01:00
Cédric Krier 6e490d871e Do not execute action on row active if there is no selected id
Closes #12731
(grafted from 00d2bb38f0b68c817b3c97b822c66ccda53855e4)

--HG--
branch : 7.0
2023-11-11 19:31:35 +01:00