Commit Graph
58607 Commits
Author SHA1 Message Date
Cédric Krier 6c0fd494ed Use empty value Function xxx2Many fields without initial value
Since d142b33fa3ab the on_change_with relies on _changed_value. But for
Function xxx2Many fields if their value is not in the initial value, we should
not retrieve it from the database because the result will be the same as the
one set by on_change_with.

Closes #12836
(grafted from 13d2870d43c833a8629b451edd82ac2efdc27009)

--HG--
branch : 7.0
2023-12-15 18:09:30 +01:00
Cédric Krier ad3594f8b1 Duplicate object tag when updating the content of Document widget
Some browser does not refresh properly the content when updating the data
attribute.

Closes #12808
(grafted from 595120b29967d30407fc5b267583dde9ed381d78)

--HG--
branch : 7.0
2023-12-07 22:50:42 +01:00
Cédric Krier 586592e1ff Always align on start on xs screen
e5446fb8d4ce reintroduced the rule but using text-center while it is justify-*
that is used for grid layout.

Closes #12807
(grafted from ae247628f5c859df56bbc2494f76cc59f9c152e7)

--HG--
branch : 7.0
2023-12-07 19:54:48 +01:00
Cédric Krier 26c7b3c7d9 Use sql table after calling the __setup__ super of marketing parameter
It is ModelSQL.__setup__ that fill the _table attribute used in the SQL table.

Closes #12773
(grafted from ec4c46a7f575bdc74705c546d423ca380292e6be)

--HG--
branch : 7.0
2023-11-25 18:31:08 +01:00
Nicolas Évrard 686c799097 Mark M2M records for addition in parent after they're saved
Closes #12832
(grafted from 4e8ff04aef3a2bfd175e2c77db1421810adc5159)

--HG--
branch : 7.0
2023-12-14 17:54:27 +01:00
Maxime Richez 13caf6383d Run setup.py explicitly with python3 to get version when freezing
Closes #12831
(grafted from 7a8b1987503801d213f9de2b4c986bbc9166a1fa)

--HG--
branch : 7.0
2023-12-23 02:06:45 +01:00
Cédric Krier 550fceb05f Add None value to selection for nullable_widget when search_read fails
Closes #12838
(grafted from 539dc9578430153096430ec794016b0958694552)

--HG--
branch : 7.0
2023-12-17 21:13:12 +01:00
Cédric Krier daa05928e0 Do not read record name for value None for inactive selection
Closes #12838
(grafted from cf35deaf9f1219bdad297c258960d314fbbc538f)

--HG--
branch : 7.0
2023-12-17 21:12:41 +01:00
Cédric Krier 9d22a0751e Fix python formatting in tryton translation
(grafted from 65cdb3aa53ef0dd87b5b1b5972b0d9f880321827)

--HG--
branch : 7.0
2023-12-16 11:17:44 +01:00
Cédric Krier 0bfae6ba41 Add missing match_none argument to carrier match for subdivision
Closes #12835
(grafted from a0a01264db21e988026837d21bad5ea0b76e91dd)

--HG--
branch : 7.0
2023-12-14 19:26:23 +01:00
Cédric Krier 7796408f84 Check lot required only when changing move to done
Closes #12547
(grafted from 16e4f04fd5e1e5ea819a5e8783831b973b2aecb0)

--HG--
branch : 7.0
2023-12-12 16:03:33 +01:00
Cédric Krier cab2cddf72 Always include changed field when calling on_change_with
Since d142b33fa3ab the on_change_with relies on _changed_value.
So in order to correctly detect if a xxx2Many field has some record removed,
we need to have the value of the client.

Closes #12837
(grafted from ae091a6bacbcaba5d327c6573b3859ab0d59e070)

--HG--
branch : 7.0
2023-12-15 19:10:38 +01:00
Cédric Krier 113b73c866 Use 0 as fallback for missing debit or credit in on_change functions
Closes #12823
(grafted from bcff7d7cd008ddb4b8d9df3b63b6cecefcfce5c6)

--HG--
branch : 7.0
2023-12-12 17:02:31 +01:00
Cédric Krier d4660a701a Compare leaf values only of the same type to sort domain
Closes #12792
(grafted from cb0f2181f6188f8a920e591f0d27a2dac6be5678)

--HG--
branch : 7.0
2023-12-12 18:02:14 +01:00
Cédric Krier 066cb9897f Add index entries for document incoming modules
(grafted from 1e511423aadef2aa464653d6e18054c7cea9f55f)

--HG--
branch : 7.0
2023-11-25 21:40:12 +01:00
Cédric Krier 0ddca6da00 Increase version number
--HG--
branch : 7.0
2023-12-16 11:07:17 +01:00
Cédric Krier 1b150e88e6 Add tag account-7.0.1
--HG--
branch : 7.0
2023-12-16 11:07:05 +01:00
Cédric Krier cda7c9bd3b Prepare release account-7.0.1
--HG--
branch : 7.0
2023-12-16 11:07:04 +01:00
Cédric Krier 85742af355 Increase version number
--HG--
branch : 7.0
2023-12-16 11:06:03 +01:00
Cédric Krier 85dbe961bd Add tag account_invoice_stock-7.0.1
--HG--
branch : 7.0
2023-12-16 11:05:55 +01:00
Cédric Krier 4a175b94e5 Prepare release account_invoice_stock-7.0.1
--HG--
branch : 7.0
2023-12-16 11:05:54 +01:00
Cédric Krier 575b585cbe Increase version number
--HG--
branch : 7.0
2023-12-16 11:05:39 +01:00
Cédric Krier 6e6b9361e3 Add tag document_incoming_ocr-7.0.1
--HG--
branch : 7.0
2023-12-16 11:05:32 +01:00
Cédric Krier a15966d469 Prepare release document_incoming_ocr-7.0.1
--HG--
branch : 7.0
2023-12-16 11:05:31 +01:00
Cédric Krier 94ec7332b1 Increase version number
--HG--
branch : 7.0
2023-12-16 11:04:50 +01:00
Cédric Krier 573157c1d0 Add tag product-7.0.1
--HG--
branch : 7.0
2023-12-16 11:04:41 +01:00
Cédric Krier 8a7f3697f3 Prepare release product-7.0.1
--HG--
branch : 7.0
2023-12-16 11:04:40 +01:00
Cédric Krier a10b51f8e9 Increase version number
--HG--
branch : 7.0
2023-12-16 11:03:44 +01:00
Cédric Krier 3f5685c792 Add tag product_kit-7.0.1
--HG--
branch : 7.0
2023-12-16 11:03:36 +01:00
Cédric Krier 836bdaeea8 Prepare release product_kit-7.0.1
--HG--
branch : 7.0
2023-12-16 11:03:36 +01:00
Cédric Krier 5514656d5c Increase version number
--HG--
branch : 7.0
2023-12-16 11:02:55 +01:00
Cédric Krier 697f32f06d Add tag stock_package_shipping_sendcloud-7.0.1
--HG--
branch : 7.0
2023-12-16 11:02:48 +01:00
Cédric Krier e7829fccc2 Prepare release stock_package_shipping_sendcloud-7.0.1
--HG--
branch : 7.0
2023-12-16 11:02:47 +01:00
Cédric Krier dd4a044224 Increase version number
--HG--
branch : 7.0
2023-12-16 10:53:29 +01:00
Cédric Krier 121979176f Add tag sao-7.0.3
--HG--
branch : 7.0
2023-12-16 10:53:21 +01:00
Cédric Krier f053bbcce5 Prepare release sao-7.0.3
--HG--
branch : 7.0
2023-12-16 10:53:20 +01:00
Cédric Krier 83be626109 Increase version number
--HG--
branch : 7.0
2023-12-16 10:51:58 +01:00
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