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
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
Cédric Krier
735fc1ef03
Add tag party-8.0.3
...
--HG--
branch : 8.0
2026-08-15 08:57:40 +02:00
Cédric Krier
a9f1433af4
Prepare release party-8.0.3
...
--HG--
branch : 8.0
2026-08-15 08:57:38 +02:00
Cédric Krier
7ea80268fe
Increase version number
...
--HG--
branch : 8.0
2026-08-15 08:54:31 +02:00
Cédric Krier
32a8376975
Add tag sale_blanket_agreement-8.0.2
...
--HG--
branch : 8.0
2026-08-15 08:54:21 +02:00
Cédric Krier
6f44a6d448
Prepare release sale_blanket_agreement-8.0.2
...
--HG--
branch : 8.0
2026-08-15 08:54:20 +02:00
Cédric Krier
fd1c8d9609
Increase version number
...
--HG--
branch : 8.0
2026-08-15 08:51:30 +02:00
Cédric Krier
a946f5a021
Add tag web_shop_shopify-8.0.5
...
--HG--
branch : 8.0
2026-08-15 08:51:20 +02:00
Cédric Krier
730cf3b2db
Prepare release web_shop_shopify-8.0.5
...
--HG--
branch : 8.0
2026-08-15 08:51:18 +02:00
Cédric Krier
fbe9b2c351
Increase version number
...
--HG--
branch : 8.0
2026-08-15 08:47:00 +02:00
Cédric Krier
1f21c54b77
Add tag sao-8.0.9
...
--HG--
branch : 8.0
2026-08-15 08:45:48 +02:00
Cédric Krier
babab249a5
Prepare release sao-8.0.9
...
--HG--
branch : 8.0
2026-08-15 08:45:47 +02:00
Cédric Krier
115166a283
Increase version number
...
--HG--
branch : 8.0
2026-08-15 08:44:03 +02:00
Cédric Krier
34d5fb574f
Add tag tryton-8.0.8
...
--HG--
branch : 8.0
2026-08-15 08:43:50 +02:00
Cédric Krier
7f65852dc4
Prepare release tryton-8.0.8
...
--HG--
branch : 8.0
2026-08-15 08:43:49 +02:00
Cédric Krier
dce539cb3b
Increase version number
...
--HG--
branch : 8.0
2026-08-15 08:41:44 +02:00
Cédric Krier
bf2fbcc13e
Add tag trytond-8.0.9
...
--HG--
branch : 8.0
2026-08-15 08:41:30 +02:00
Cédric Krier
e51692ba4a
Prepare release trytond-8.0.9
...
--HG--
branch : 8.0
2026-08-15 08:41:29 +02:00
Cédric Krier
ed4b02ba77
Do not rely on shipments order from sale in test scenario
...
Closes #15009
(grafted from 5996cbb65d20057bd93e5ddfdf97cafe8e4c4529)
--HG--
branch : 8.0
2026-08-13 23:44:29 +02:00
Cédric Krier
228e760ab9
Set Shopify warehouse on sale line only if it has changed
...
Closes #14995
(grafted from 2c1a865682ab07758f4b9319f47cfc2b51df1a83)
--HG--
branch : 8.0
2026-08-06 10:52:54 +02:00
Cédric Krier
f5b81e02f7
Validate current record before switching to next/previous record in window form
...
Closes #14994
(grafted from 9711708ebcd6242e98a4602da530369f176d6654)
--HG--
branch : 8.0
2026-08-05 17:39:38 +02:00
Cédric Krier
5fbf6bbda4
Hide unstructured street of address when building name is filled
...
Closes #14993
(grafted from 8ac6e6b2185903fc73f73c7cd975c2ce3eeb69be)
--HG--
branch : 8.0
2026-08-05 11:08:08 +02:00
Cédric Krier
0df7c4f64e
Get Shopify order ID from the order_edit key for orders/edited topic
...
Closes #14992
(grafted from 1f42932a73656afed484a06e103874aa01e87d0a)
--HG--
branch : 8.0
2026-08-05 10:39:35 +02:00
Cédric Krier
2039d0061e
Use webhook secret to verify Shopify webhook
...
Closes #14989
(grafted from 44d5d7ae9388dfb58c105fc52d582a5aa2f99cd2)
--HG--
branch : 8.0
2026-08-04 17:32:47 +02:00
Cédric Krier
1f807e9dd5
Convert request headers to dict and body as text to verify Shopify webhook
...
Closes #14991
(grafted from ce9159ad0fd6e129ddacd0db930a8e4f67279a33)
--HG--
branch : 8.0
2026-08-05 10:07:54 +02:00
Cédric Krier
c0b0999cb0
Fill code compact in party identifier history table
...
Closes #14983
(grafted from 0d8ca8201d1b54f4f34fb27992b31ce15b276ad2)
--HG--
branch : 8.0
2026-08-03 12:26:11 +02:00
Cédric Krier
0565805d5b
Raise PeppolServiceError when missing sender or recipient for Peppyrus submission
...
Closes #14999
(grafted from 53f956b55465ca2c1d0c60445ba2b65c359b1da1)
--HG--
branch : 8.0
2026-08-06 15:59:39 +02:00
Cédric Krier
9ae6333656
Do not try to update status of Peppyrus document without transmission ID
...
Closes #14998
(grafted from 27108e7beebfb2c68b9caad5add3456310fe9c9f)
--HG--
branch : 8.0
2026-08-06 15:55:46 +02:00
Cédric Krier
dfb345dc86
Use boolean operator to test remaining quantity of blanket agreement when closing
...
The remaining quantity may be None if the line has no quantity set.
But the getter ensure that the remaining quantity is always greater or equal to 0.
Closes #14987
(grafted from 640dfcc6d6d36f3fbbf8d232c760ea1c560c996d)
--HG--
branch : 8.0
2026-08-04 14:43:53 +02:00
Cédric Krier
b20163f6b9
Store Peppyrus message using service instance instead of class
...
Closes #14990
(grafted from 85c2d0b69b01250cd2c7c21eb16a4b86c550edc3)
--HG--
branch : 8.0
2026-08-05 07:08:27 +02:00
Cédric Krier
566cd48cd6
Use request data property to parse form data as json
...
Closes #14984
(grafted from a9624e36e318273942bb1eed3e0258497d7d9f15)
--HG--
branch : 8.0
2026-08-04 07:49:57 +02:00
Cédric Krier
301a3b3841
Use https for namespaces for currency rate from Romanian National Bank
...
Closes #14986
(grafted from a7bb08629b6172df9e2b249cf15c84ce875f2d85)
--HG--
branch : 8.0
2026-08-04 14:34:23 +02:00
Cédric Krier
16634b1d01
Update hostname of Romanian National Bank URL
...
Closes #15001
(grafted from 2c59c7615b52526b627b7416f2e315f96d54a430)
--HG--
branch : 8.0
2026-08-10 09:21:25 +02:00
Cédric Krier
fd71ce229d
Do not set width and height to 100% for <img/> of document
...
Closes #14979
(grafted from 9f966d1051f17bbcf09959daf3fab1e1f28cff36)
--HG--
branch : 8.0
2026-07-30 16:20:47 +02:00
Cédric Krier
f3f7f0c2cb
Do not set twice the extension in the attachment name for the UBL documents
...
Closes #14982
(grafted from a7bc04a0430d1c0ee7503b1148c611c65659a633)
--HG--
branch : 8.0
2026-08-01 10:49:03 +02:00
Cédric Krier
fcb95aa409
Do not compare to None PaymentDueDate value from findtext
...
It is not necessary because findtext returns a string.
(grafted from e1801f15caaa2bb23d2d8ba38483617977658bd8)
--HG--
branch : 8.0
2026-08-01 00:57:28 +02:00
Cédric Krier
6bf439f496
Use DueDate as fallback for payment term date for UBL without payment terms
...
Closes #14981
(grafted from df7119de4a976b2d12c884c6d3f0a2c5f2a67174)
--HG--
branch : 8.0
2026-08-01 00:56:10 +02:00
Cédric Krier
187fc8a245
Normalize the quantity before calculating the number of digits when parsing UBL
...
Trailing zero in the quantity should not require a bigger precision for the
unit.
Closes #14973
(grafted from 763adbca3986db5acffd5631821fe9647bb5b2f4)
--HG--
branch : 8.0
2026-07-28 19:27:57 +02:00
Cédric Krier
ad7f66c3ca
Increase version number
...
--HG--
branch : 8.0
2026-08-04 12:24:26 +02:00
Cédric Krier
4a7e50ec89
Add tag account_payment_sepa-8.0.2
...
--HG--
branch : 8.0
2026-08-04 12:24:16 +02:00
Cédric Krier
a75a0ef051
Prepare release account_payment_sepa-8.0.2
...
--HG--
branch : 8.0
2026-08-04 12:24:15 +02:00
Cédric Krier
6ba01738dc
Increase version number
...
--HG--
branch : 8.0
2026-08-04 12:23:31 +02:00
Cédric Krier
a3f204707e
Add tag account_payment_sepa_cfonb-8.0.1
...
--HG--
branch : 8.0
2026-08-04 12:23:22 +02:00