Commit Graph
60305 Commits
Author SHA1 Message Date
Cédric Krier 2fbf68473b Prepare release sao-7.0.57
--HG--
branch : 7.0
2026-09-16 23:20:44 +02:00
Cédric Krier bd67047aa8 Increase version number
--HG--
branch : 7.0
2026-09-16 23:10:12 +02:00
Cédric Krier 897140586e Add tag tryton-7.0.44
--HG--
branch : 7.0
2026-09-16 23:10:03 +02:00
Cédric Krier 99ce01c376 Prepare release tryton-7.0.44
--HG--
branch : 7.0
2026-09-16 23:10:02 +02:00
Cédric Krier ad50ed48bc Increase version number
--HG--
branch : 7.0
2026-09-16 23:05:29 +02:00
Cédric Krier 6ffa7864bd Add tag trytond-7.0.57
--HG--
branch : 7.0
2026-09-16 23:05:18 +02:00
Cédric Krier 69dbf9c239 Prepare release trytond-7.0.57
--HG--
branch : 7.0
2026-09-16 23:05:17 +02:00
Cédric Krier 21f73ab026 Require a message file for SEPA message
Closes #15073
(grafted from ccb26ad8dd0efcfc062c8d95fab29a6bfba5b74a)

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

--HG--
branch : 7.0
2026-09-07 18:01:00 +02:00
Nicolas Évrard ba730252c2 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 : 7.0
2026-09-10 22:12:59 +02:00
Cédric Krier 6dd5f5873e Use explicit order for shipments and invoices on sale and purchase
Closes #15090
(grafted from 05dbc76d7b374aebf7aaef7c03617cbec6c67393)

--HG--
branch : 7.0
2026-09-13 13:57:29 +02:00
Cédric Krier 4d383d2a32 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 : 7.0
2026-09-13 14:01:21 +02:00
Cédric Krier 123d6db298 Sort invoices and shipments on Function fields of sale and purchase
Closes #15083
(grafted from 9385c3660f174830a30529078f3e2899a7a8672c)

--HG--
branch : 7.0
2026-09-10 14:14:16 +02:00
Cédric Krier 7b37c0a94a 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 : 7.0
2026-09-10 16:07:26 +02:00
Cédric Krier 970d2d8390 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 : 7.0
2026-09-03 17:23:33 +02:00
Adrià Tarroja Caubet d389789fdc 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 : 7.0
2026-09-10 08:20:15 +02:00
Cédric Krier f84ebe9f60 Set button decorator for sending and updating invoices on Chorus to a different method than the cron
Closes #15069
(grafted from 59d049637f6755f0678f5acb460525b5be5d72b4)

--HG--
branch : 7.0
2026-09-06 10:21:56 +02:00
Cédric Krier 566ad5de79 Do not add searcher to the template function fields if the template field is not searchable
Closes #15063
(grafted from c7ff87de982a3f9d0e46a62bfebe76751bcbf4e2)

--HG--
branch : 7.0
2026-09-04 08:30:25 +02:00
Cédric Krier 9c2d4bee74 Wait until a message is received when testing subscription of bus
Closes #15065
(grafted from 020452568c782b3d20fe64fe58e33088095125a1)

--HG--
branch : 7.0
2026-09-04 11:53:57 +02:00
Cédric Krier 5e211dd515 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 : 7.0
2026-09-03 15:49:20 +02:00
Cédric Krier 21f549d531 Test the existence of the request context key before using it for URL
Closes #15046
(grafted from 5eae02e6c094d6741d615d1c4bd2333721eb92b7)

--HG--
branch : 7.0
2026-08-27 15:56:47 +02:00
Cédric Krier 0a151fa4be Clear attachment preview when there is no current record
Closes #15044
(grafted from dc0a158ea439898e071602e8dc87fc4767fe76c6)

--HG--
branch : 7.0
2026-08-26 10:26:45 +02:00
Cédric Krier fd3580c449 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 : 7.0
2026-08-25 13:09:25 +02:00
Cédric Krier 2ed893c395 Cache the help with the selection per domain in selection mixin
Closes #15031
(grafted from 1439af7bdd4c87f1bb9761f722c4320e572fde80)

--HG--
branch : 7.0
2026-08-21 10:04:05 +02:00
Cédric Krier 653af010a0 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 : 7.0
2026-08-21 15:26:56 +02:00
Cédric Krier 76bc2bb348 Make wizard wait for setting default value before ending processing
Closes #15040
(grafted from 78d8d12401ff32125fa24fdbd600a9e6eb0cc136)

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

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

--HG--
branch : 7.0
2026-08-11 12:05:48 +02:00
Cédric Krier 4216547adc 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 : 7.0
2026-08-25 09:45:59 +02:00
Cédric Krier d0fd719fb9 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 : 7.0
2026-08-14 12:55:53 +02:00
Cédric Krier 4f571c7475 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 : 7.0
2026-08-17 17:32:55 +02:00
Cédric Krier 25317d52ad Protect writing configuration of tryton with a thread lock
Closes #6114
(grafted from d09f4b4b8b5a163ae02d9f066922e0999022b4f8)

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

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

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

--HG--
branch : 7.0
2026-08-23 08:28:53 +02:00
Cédric Krier 196f9ab692 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 : 7.0
2026-08-12 17:57:01 +02:00
Cédric Krier c4c5e84ca4 Test findtext result as boolean when parsing UBL invoice
Closes #15003
(grafted from ebb739d278526b86ec2f4ac31df63388874c2487)

--HG--
branch : 7.0
2026-08-11 12:02:09 +02:00
Cédric Krier 85c0d2f5eb Increase version number
--HG--
branch : 7.0
2026-08-15 09:05:50 +02:00
Cédric Krier 473822780f Add tag currency_ro-7.0.2
--HG--
branch : 7.0
2026-08-15 09:05:42 +02:00
Cédric Krier 52c1bb38ae Prepare release currency_ro-7.0.2
--HG--
branch : 7.0
2026-08-15 09:05:41 +02:00
Cédric Krier 17ee1fbaa1 Increase version number
--HG--
branch : 7.0
2026-08-15 08:56:57 +02:00
Cédric Krier c5eb059442 Add tag sale_blanket_agreement-7.0.4
--HG--
branch : 7.0
2026-08-15 08:56:48 +02:00
Cédric Krier 68516b3e43 Prepare release sale_blanket_agreement-7.0.4
--HG--
branch : 7.0
2026-08-15 08:56:47 +02:00
Cédric Krier aeac46de68 Increase version number
--HG--
branch : 7.0
2026-08-15 08:50:55 +02:00
Cédric Krier 2d03378e0f Add tag sao-7.0.56
--HG--
branch : 7.0
2026-08-15 08:49:59 +02:00
Cédric Krier cf76403092 Prepare release sao-7.0.56
--HG--
branch : 7.0
2026-08-15 08:49:58 +02:00
Cédric Krier fce2d924b5 Increase version number
--HG--
branch : 7.0
2026-08-15 08:45:09 +02:00
Cédric Krier 9e010b6bcf Add tag tryton-7.0.43
--HG--
branch : 7.0
2026-08-15 08:44:55 +02:00
Cédric Krier 0b71443f0c Prepare release tryton-7.0.43
--HG--
branch : 7.0
2026-08-15 08:44:53 +02:00
Cédric Krier 02359a7ec0 Increase version number
--HG--
branch : 7.0
2026-08-15 08:42:55 +02:00