Commit Graph
61004 Commits
Author SHA1 Message Date
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
Cédric Krier 605b1d214e Register cache instance after being fully initialized
Otherwise an instance can be accessed by another thread via the registry when
it is still being initialized. And it may crash on missing attribute.

Closes #15007
(grafted from f1840545f4eb5ae5c870a2557a7c3a0314fedb16)

--HG--
branch : 8.0
2026-08-12 17:57:01 +02:00
Cédric Krier d38bb3fea5 Test findtext result as boolean when parsing UBL invoice
Closes #15003
(grafted from ebb739d278526b86ec2f4ac31df63388874c2487)

--HG--
branch : 8.0
2026-08-11 12:02:09 +02:00
Cédric Krier 7844a750a3 Limit the start id of table to 500 for tests
By using the formula `(idx * prime) % range + 1`, tables created consecutively
have start id distant by `prime` and the maximum start id is `range`.
This avoid to overflow int4 when composing unique ID for table query.

Closes #15010
(grafted from f730392a270138148ed62366cf7f35a7cc01a8b6)

--HG--
branch : 8.0
2026-08-17 15:06:09 +02:00
Nicolas Évrard 5a3a52e164 Reset TABLES_CREATED when dropping the database when testing
Closes #15002
(grafted from e9f2b42e96ebb4553ef153f1d778c5d1042b3891)

--HG--
branch : 8.0
2026-08-10 14:51:04 +02:00
Cédric Krier 6992663e99 Increase version number
--HG--
branch : 8.0
2026-08-15 09:07:22 +02:00
Cédric Krier b521cacbf1 Add tag account_invoice_history-8.0.1
--HG--
branch : 8.0
2026-08-15 09:07:12 +02:00
Cédric Krier bc372c52e9 Prepare release account_invoice_history-8.0.1
--HG--
branch : 8.0
2026-08-15 09:07:11 +02:00
Cédric Krier 6ddfab0dc3 Increase version number
--HG--
branch : 8.0
2026-08-15 09:03:46 +02:00
Cédric Krier 0589978d99 Add tag currency_ro-8.0.2
--HG--
branch : 8.0
2026-08-15 09:03:35 +02:00
Cédric Krier 0ba4a09e2e Prepare release currency_ro-8.0.2
--HG--
branch : 8.0
2026-08-15 09:03:32 +02:00
Cédric Krier 1f0292c073 Increase version number
--HG--
branch : 8.0
2026-08-15 09:02:34 +02:00
Cédric Krier 96976c6074 Add tag edocument_peppol_peppyrus-8.0.1
--HG--
branch : 8.0
2026-08-15 09:02:24 +02:00
Cédric Krier 6993fe7ad5 Prepare release edocument_peppol_peppyrus-8.0.1
--HG--
branch : 8.0
2026-08-15 09:02:22 +02:00
Cédric Krier bacd9218f2 Increase version number
--HG--
branch : 8.0
2026-08-15 09:00:18 +02:00
Cédric Krier 5764bbd2a3 Add tag edocument_ubl-8.0.4
--HG--
branch : 8.0
2026-08-15 09:00:07 +02:00
Cédric Krier 40149fe10b Prepare release edocument_ubl-8.0.4
--HG--
branch : 8.0
2026-08-15 09:00:06 +02:00
Cédric Krier db633960ad Increase version number
--HG--
branch : 8.0
2026-08-15 08:57:55 +02:00