Commit Graph
100 Commits
Author SHA1 Message Date
Cédric Krier 33db6454a9 Add tag account_invoice-8.0.2
--HG--
branch : 8.0
2026-09-16 23:54:03 +02:00
Cédric Krier a0a7832d3a Prepare release account_invoice-8.0.2
--HG--
branch : 8.0
2026-09-16 23:54:02 +02:00
Cédric Krier 582533ff42 Increase version number
--HG--
branch : 8.0
2026-09-16 23:50:55 +02:00
Cédric Krier f21b62edbb Add tag account_invoice_defer-8.0.1
--HG--
branch : 8.0
2026-09-16 23:50:46 +02:00
Cédric Krier 7f44f1ab88 Prepare release account_invoice_defer-8.0.1
--HG--
branch : 8.0
2026-09-16 23:50:45 +02:00
Cédric Krier 85e6dbcdde Increase version number
--HG--
branch : 8.0
2026-09-16 23:43:34 +02:00
Cédric Krier a1d4026d6a Add tag account_payment_sepa-8.0.3
--HG--
branch : 8.0
2026-09-16 23:43:24 +02:00
Cédric Krier a517b778c6 Prepare release account_payment_sepa-8.0.3
--HG--
branch : 8.0
2026-09-16 23:43:23 +02:00
Cédric Krier cdce88ff00 Increase version number
--HG--
branch : 8.0
2026-09-16 23:40:01 +02:00
Cédric Krier eda316fff6 Add tag edocument_ubl-8.0.5
--HG--
branch : 8.0
2026-09-16 23:39:51 +02:00
Cédric Krier 89e5d33b10 Prepare release edocument_ubl-8.0.5
--HG--
branch : 8.0
2026-09-16 23:39:50 +02:00
Cédric Krier ce6945142c Increase version number
--HG--
branch : 8.0
2026-09-16 23:37:29 +02:00
Cédric Krier b4d43e279c Add tag edocument_uncefact-8.0.3
--HG--
branch : 8.0
2026-09-16 23:37:18 +02:00
Cédric Krier ae092912f6 Prepare release edocument_uncefact-8.0.3
--HG--
branch : 8.0
2026-09-16 23:37:17 +02:00
Cédric Krier c94e3668b2 Increase version number
--HG--
branch : 8.0
2026-09-16 23:35:50 +02:00
Cédric Krier c29dd20661 Add tag product-8.0.2
--HG--
branch : 8.0
2026-09-16 23:35:39 +02:00
Cédric Krier 8ec0e54fa0 Prepare release product-8.0.2
--HG--
branch : 8.0
2026-09-16 23:35:38 +02:00
Cédric Krier e66eb2f351 Increase version number
--HG--
branch : 8.0
2026-09-16 23:34:18 +02:00
Cédric Krier da2f6ea8fc Add tag product_kit-8.0.3
--HG--
branch : 8.0
2026-09-16 23:34:09 +02:00
Cédric Krier 8b0bfce413 Prepare release product_kit-8.0.3
--HG--
branch : 8.0
2026-09-16 23:34:08 +02:00
Cédric Krier 8d58264ba4 Increase version number
--HG--
branch : 8.0
2026-09-16 23:32:46 +02:00
Cédric Krier e765e68b9d Add tag purchase-8.0.2
--HG--
branch : 8.0
2026-09-16 23:32:34 +02:00
Cédric Krier 2e9a37626b Prepare release purchase-8.0.2
--HG--
branch : 8.0
2026-09-16 23:32:33 +02:00
Cédric Krier d725d601e5 Increase version number
--HG--
branch : 8.0
2026-09-16 23:31:09 +02:00
Cédric Krier 280e86131f Add tag purchase_blanket_agreement-8.0.2
--HG--
branch : 8.0
2026-09-16 23:31:00 +02:00
Cédric Krier 790d39d9ac Prepare release purchase_blanket_agreement-8.0.2
--HG--
branch : 8.0
2026-09-16 23:30:59 +02:00
Cédric Krier 4c562d3101 Increase version number
--HG--
branch : 8.0
2026-09-16 23:29:35 +02:00
Cédric Krier ed394b60d1 Add tag sale-8.0.4
--HG--
branch : 8.0
2026-09-16 23:29:26 +02:00
Cédric Krier 5e31e05a36 Prepare release sale-8.0.4
--HG--
branch : 8.0
2026-09-16 23:29:25 +02:00
Cédric Krier d85bbf1a31 Increase version number
--HG--
branch : 8.0
2026-09-16 23:28:03 +02:00
Cédric Krier e10492625a Add tag sale_supply-8.0.1
--HG--
branch : 8.0
2026-09-16 23:27:55 +02:00
Cédric Krier 37b9893df6 Prepare release sale_supply-8.0.1
--HG--
branch : 8.0
2026-09-16 23:27:53 +02:00
Cédric Krier bce9e311cf Increase version number
--HG--
branch : 8.0
2026-09-16 23:26:26 +02:00
Cédric Krier 4f2b32c1e1 Add tag sale_supply_drop_shipment-8.0.1
--HG--
branch : 8.0
2026-09-16 23:26:17 +02:00
Cédric Krier 037679f073 Prepare release sale_supply_drop_shipment-8.0.1
--HG--
branch : 8.0
2026-09-16 23:26:16 +02:00
Cédric Krier 3e551e31e3 Increase version number
--HG--
branch : 8.0
2026-09-16 23:25:50 +02:00
Cédric Krier b4baf0fb82 Add tag stock_ethanol-8.0.1
--HG--
branch : 8.0
2026-09-16 23:25:39 +02:00
Cédric Krier 02420f000f Prepare release stock_ethanol-8.0.1
--HG--
branch : 8.0
2026-09-16 23:25:37 +02:00
Cédric Krier 5afa0f29b1 Increase version number
--HG--
branch : 8.0
2026-09-16 23:24:44 +02:00
Cédric Krier a4f5c336b1 Add tag stock_package_shipping-8.0.2
--HG--
branch : 8.0
2026-09-16 23:24:36 +02:00
Cédric Krier 0ffb47662e Prepare release stock_package_shipping-8.0.2
--HG--
branch : 8.0
2026-09-16 23:24:34 +02:00
Cédric Krier 7e65d2a5cd Increase version number
--HG--
branch : 8.0
2026-09-16 23:23:05 +02:00
Cédric Krier ee6e06b7d5 Add tag user_role-8.0.2
--HG--
branch : 8.0
2026-09-16 23:22:56 +02:00
Cédric Krier 5266a55c64 Prepare release user_role-8.0.2
--HG--
branch : 8.0
2026-09-16 23:22:55 +02:00
Cédric Krier 5df308e81d Increase version number
--HG--
branch : 8.0
2026-09-16 23:21:30 +02:00
Cédric Krier 74bd11d7e1 Add tag web_shop_shopify-8.0.6
--HG--
branch : 8.0
2026-09-16 23:21:20 +02:00
Cédric Krier df37326c95 Prepare release web_shop_shopify-8.0.6
--HG--
branch : 8.0
2026-09-16 23:21:19 +02:00
Cédric Krier 3773d04991 Increase version number
--HG--
branch : 8.0
2026-09-16 23:15:49 +02:00
Cédric Krier 4dbc92712e Add tag sao-8.0.10
--HG--
branch : 8.0
2026-09-16 23:12:24 +02:00
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
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
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
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
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
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
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
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