Commit Graph
61021 Commits
Author SHA1 Message Date
Cédric Krier c65bf0cb9a Prepare release sao-8.0.10
--HG--
branch : 8.0
2026-09-16 23:12:23 +02:00
Cédric Krier 1f05a2b240 Increase version number
--HG--
branch : 8.0
2026-09-16 23:06:43 +02:00
Cédric Krier 3f84b997ac Add tag tryton-8.0.9
--HG--
branch : 8.0
2026-09-16 23:06:32 +02:00
Cédric Krier 1c47e75e6f Prepare release tryton-8.0.9
--HG--
branch : 8.0
2026-09-16 23:06:31 +02:00
Cédric Krier 1f04d08061 Increase version number
--HG--
branch : 8.0
2026-09-16 23:03:56 +02:00
Cédric Krier 8ea339ab0f Add tag trytond-8.0.10
--HG--
branch : 8.0
2026-09-16 23:03:42 +02:00
Cédric Krier de9dc63c55 Prepare release trytond-8.0.10
--HG--
branch : 8.0
2026-09-16 23:03:41 +02:00
Cédric Krier 3ea61dd88f Require a message file for SEPA message
Closes #15073
(grafted from ccb26ad8dd0efcfc062c8d95fab29a6bfba5b74a)

--HG--
branch : 8.0
2026-09-07 18:12:38 +02:00
Cédric Krier 6ff3f7701f Test if the line's origin is an instance of ModelStorage before accessing the record name
Closes #15072
(grafted from c51729392ebd3af4327e55dd7f1c195163f5b1cf)

--HG--
branch : 8.0
2026-09-07 18:01:00 +02:00
Nicolas Évrard 6d3956ff5f Use the selection from the update_selection call in Selection editable columns
Since 917de1b3e124 the selection is not stored on the selection_mixins we must
thus use the one coming from the callback call

Closes #15087
(grafted from e80a99079b44ce2d1c22865bd919fef6bfc8ce24)

--HG--
branch : 8.0
2026-09-10 22:12:59 +02:00
Cédric Krier 6ccad120d7 Use explicit order for shipments and invoices on sale and purchase
Closes #15090
(grafted from 05dbc76d7b374aebf7aaef7c03617cbec6c67393)

--HG--
branch : 8.0
2026-09-13 13:57:29 +02:00
Cédric Krier 7be6fa1e91 Returns unique and ordered shipments when extending sale and purchase for kit
Since 9385c3660f17 the super method returns instances so only instances must be
added to the set to ensure uniqueness.

Closes #15091
(grafted from 7b9bcbe10ded642353834ba189a888119d7073ae)

--HG--
branch : 8.0
2026-09-13 14:01:21 +02:00
Cédric Krier 55284034da Sort invoices and shipments on Function fields of sale and purchase
Closes #15083
(grafted from 9385c3660f174830a30529078f3e2899a7a8672c)

--HG--
branch : 8.0
2026-09-10 14:14:16 +02:00
Cédric Krier eeb2b75b4c Forbid to set role to admin user
The links between admin user and groups are managed by XML record.
But the sync task may delete such link if a role is assigned to admin because
the task is run as root which skip the XML check.

Closes #15086
(grafted from 0512f49869883b95b74387a292753e9e43375f35)

--HG--
branch : 8.0
2026-09-10 16:07:26 +02:00
Cédric Krier 7f872d1a8c Display the screen after button confirmation has been rejected
Since 0b692f8ac308 the screen must be displayed again in order to remove the
disabled property.

Closes #15061
(grafted from 7df15278c9793c95b2d14038c1f779a4447838d4)

--HG--
branch : 8.0
2026-09-03 17:23:33 +02:00
Cédric Krier 8f5b01564e Store delete rule of column per constraint
If a column is used for different foreign keys with different delete rules, the
foreign key may be recreated if the last rule stored is different.

Closes #15053
(grafted from 636865d7fc72d5e59d9a7bb447de8b87743cc5ad)

--HG--
branch : 8.0
2026-09-02 11:43:46 +02:00
Adrià Tarroja Caubet 3863230030 Check for running deferrals when closing a standard period only
Invoice deferred creates moves only on standard period

Closes #15042
(grafted from f56a0a6d5558009b138069bdad1c3d7ff9c37c87)

--HG--
branch : 8.0
2026-09-10 08:20:15 +02:00
Cédric Krier 7cda9ec0fc Set button decorator for sending and updating invoices on Chorus to a different method than the cron
Closes #15069
(grafted from 59d049637f6755f0678f5acb460525b5be5d72b4)

--HG--
branch : 8.0
2026-09-06 10:21:56 +02:00
Cédric Krier c7352528ab Do not set searcher on ethanol volume of products by locations
The field on product is not searchable.

Closes #15064
(grafted from d28f3d9513b9a23275186cf76efb451e63fe7ae9)

--HG--
branch : 8.0
2026-09-04 08:31:27 +02:00
Cédric Krier ba18ab2e16 Do not add searcher to the template function fields if the template field is not searchable
Closes #15063
(grafted from c7ff87de982a3f9d0e46a62bfebe76751bcbf4e2)

--HG--
branch : 8.0
2026-09-04 08:30:25 +02:00
Cédric Krier 1fb965a74a Generate a valid domain for the origin invoices via the searcher on the invoice
Closes #15062
(grafted from 3fa1c544b703ac7b134992cd62693cd43b633c45)

--HG--
branch : 8.0
2026-09-04 08:28:54 +02:00
Cédric Krier 366327464b Set the company on the invoice before assigning the party
The party of the invoice must have the invoice's company in the context to
correctly set the account when calling on_change_party.

Closes #15049
(grafted from 9b78bdacf182dfa9e5ab3c5206fb8fb5adfb2868)

--HG--
branch : 8.0
2026-08-31 12:06:40 +02:00
Cédric Krier 862ef8d408 Wait until a message is received when testing subscription of bus
Closes #15065
(grafted from 020452568c782b3d20fe64fe58e33088095125a1)

--HG--
branch : 8.0
2026-09-04 11:53:57 +02:00
Cédric Krier 0512626e26 Use a sentinel as default value for setting attribute only if changed
For new instances, we must set also the attribute with value `None` as they may
be tested later.

Closes #15060
(grafted from bfe3756af384f4fce94244761d5f5dd3f62d0ff6)

--HG--
branch : 8.0
2026-09-03 15:49:20 +02:00
Cédric Krier 4e4d7b0729 Test the existence of the request context key before using it for URL
Closes #15046
(grafted from 5eae02e6c094d6741d615d1c4bd2333721eb92b7)

--HG--
branch : 8.0
2026-08-27 15:56:47 +02:00
Nicolas Évrard 04ab9aaedf Check the existence of a getter before adding it to a field depends
Closes #15055
(grafted from 9d5d21d76b461d82c7d43c6221f7e9f1f1d3f5cc)

--HG--
branch : 8.0
2026-09-03 12:24:29 +02:00
Cédric Krier 0b24d35a3d Clear attachment preview when there is no current record
Closes #15044
(grafted from dc0a158ea439898e071602e8dc87fc4767fe76c6)

--HG--
branch : 8.0
2026-08-26 10:26:45 +02:00
Lars Wuerfel e298bf5935 Fix the "prefixes" key name in the cookiecutter template
Closes #15054
(grafted from 273529fe5d566940dbac9fb933dd3fcc6daeb60f)

--HG--
branch : 8.0
2026-09-03 12:38:02 +02:00
Cédric Krier 921562a1dd Ensure it is still the same record when executing the display callback of a widget
When a widget display is asynchronous, we must ensure that it is still the same
record that is being displayed when the callback is finally executed. Otherwise
it may render the data of a different record in the HTML.

Closes #15041
(grafted from dbd215ffb07150c2f476922bd7c66dc896ed2665)

--HG--
branch : 8.0
2026-08-25 13:09:25 +02:00
Eva Luadora de088e6e3e Bind graph using the DOM element instead of id
Billboard must receive the graph element directly because the chart can be
rendered while it is still detached from the document.

Closes #14970
(grafted from 00123388953eb5d0e7cee0ff3b8d005a826db9e9)

--HG--
branch : 8.0
2026-09-02 13:57:21 +02:00
Cédric Krier d2ced133f6 Include first line of unstructured street in AdrLine tag of SEPA message
Since 327f65ad55e6 the StrtNm tag is no more the first line of the street so
this lines must be included in AdrLine.

Closes #15036
(grafted from 3f9bfd6ce8b9dcb718a20272eb37f1cb83f727e8)

--HG--
branch : 8.0
2026-08-24 11:56:05 +02:00
Cédric Krier 6ff68e42b9 Cache the help with the selection per domain in selection mixin
Closes #15031
(grafted from 1439af7bdd4c87f1bb9761f722c4320e572fde80)

--HG--
branch : 8.0
2026-08-21 10:04:05 +02:00
Cédric Krier 2186c3740c Do not set selection after asynchronous call if parameters have changed
And do not store the current selection nor help but only pass them to the
callback.

Closes #15029
(grafted from 917de1b3e12443c919b90ba7cac9497bca047ef9)

--HG--
branch : 8.0
2026-08-21 15:26:56 +02:00
Cédric Krier cb050c3441 Make wizard wait for setting default value before ending processing
Closes #15040
(grafted from 78d8d12401ff32125fa24fdbd600a9e6eb0cc136)

--HG--
branch : 8.0
2026-08-25 12:24:36 +02:00
Cédric Krier 762ee55d45 Manage the sign on LineTotalAmount instead of BilledQuantity in UN/CEFACT 16B-CII
Closes #15006
(grafted from 0697a96aaf6c42aeb8e3d81b2d33167eb85a974c)

--HG--
branch : 8.0
2026-08-11 12:10:58 +02:00
Cédric Krier c6915b38bd Set PostOfficeBox when address has a post box in UN/CEFACT 16B-CII
Closes #15005
(grafted from 702f1b938b21c1bbe0536037c300c9c103a952e2)

--HG--
branch : 8.0
2026-08-11 12:08:26 +02:00
Cédric Krier b5a32b6e65 Set format attribute for DateTimeString in UN/CEFACT 16B-CII
Closes #15004
(grafted from 9b3043220a6da6f9d31dd70f1b1e348b3dc425fe)

--HG--
branch : 8.0
2026-08-11 12:05:48 +02:00
Cédric Krier eb14b26c7c Store only records count greater than 0 in the cache when delete records
The existing cached count may be just an estimation so it is possible that more
records are deleted.

Closes #15038
(grafted from aa4a8bd85207b307b4aa075b105550e4ddae100f)

--HG--
branch : 8.0
2026-08-25 09:45:59 +02:00
Cédric Krier 32197c0397 Ensure to use an estimated count greater than 1 when applying log10
Closes #15038
(grafted from ff2281026e58f4d7a8c9823837ce16a9bb0fa09b)

--HG--
branch : 8.0
2026-08-25 09:46:47 +02:00
Adrià Tarroja Caubet 02c2c2718a Add missing transaction commit to SEPA mandate migration
The console does not commit the transaction automatically, so the updated
addresses are not persisted without an explicit commit.

Closes #15037
(grafted from e56328f60aa45be564b55b93cd0c14ba8b23458c)

--HG--
branch : 8.0
2026-08-06 13:09:48 +02:00
Adrià Tarroja Caubet 4d0ad17551 Call on_change_party without assignment in SEPA mandate migration
The method updates the address in place and returns None. Assigning its
return value to the address raises an AssertionError.

Closes #14996
(grafted from 09ace4ae51505a83d13bd3d034536a022730a2f3)

--HG--
branch : 8.0
2026-08-06 13:08:45 +02:00
Cédric Krier 416122a718 Add record changed callback
Only when the current record has changed that those objects needs to be
refreshed/cleared:

    - the info bar
    - the resources
    - the attachment preview
    - the chat

Closes #15012
(grafted from dc3a3e20006329b742e6f989a0fd01d485ec80b1)

--HG--
branch : 8.0
2026-08-14 12:55:53 +02:00
Cédric Krier a5ac7f8cfa Call on_change_product only if the sale line has been changed
Since f41c9c208d39 the _changed_values is a method instead of a property.

Closes #15013
(grafted from 80f38dd8024d1e471f7c1569ba1b36c87185f7cc)

--HG--
branch : 8.0
2026-08-14 18:11:42 +02:00
Cédric Krier ad81e44df6 Set all attributes of transaction before connecting to the database
The connection to the database may fail and thus stop and rollback may be
called. All the attributes must be set to avoid to raise another AttributeError
exception.

Closes #15022
(grafted from 654923a8085d4804dd217e487c80085c53eb470b)

--HG--
branch : 8.0
2026-08-17 17:32:55 +02:00
Cédric Krier c4d1f2ce4b Allow the creation of shipping label for packages when the shipment state is shipped
Closes #15027
(grafted from 273c2c256c1b4774811be1b15ea12e9d478bdd46)

--HG--
branch : 8.0
2026-08-20 12:02:57 +02:00
Cédric Krier b78276b643 Protect writing configuration of tryton with a thread lock
Closes #6114
(grafted from d09f4b4b8b5a163ae02d9f066922e0999022b4f8)

--HG--
branch : 8.0
2026-07-27 12:10:00 +02:00
Cédric Krier 0d0d626c29 Do not rely on invoices order from sale in sale supply test scenario
Closes #15034
(grafted from 76fa6c0dae6901fcf8eb1df8037dbddb09499b8b)

--HG--
branch : 8.0
2026-08-23 14:49:30 +02:00
Cédric Krier e8adf18a55 Do not rely on shipments order from sale in product kit test scenario
Closes #15016
(grafted from 58d67088854ac415c961f6c265da3b6e28ce1c37)

--HG--
branch : 8.0
2026-08-16 23:51:22 +02:00
Cédric Krier e22d717e8a Do not rely on invoices order from sale and purchase in test scenario
Closes #15033
(grafted from d1364323d4ac8c2f3d823cbee89e5217a53e98da)

--HG--
branch : 8.0
2026-08-23 08:28:53 +02:00
Cédric Krier 87e7fc92f6 Raise last retry exception from JSON-RPC request
Closes #15008
(grafted from 3e2a195d2b333fda531f719c4b6c69a7c5f2e1c0)

--HG--
branch : 8.0
2026-08-15 08:03:57 +02:00