Commit Graph
60835 Commits
Author SHA1 Message Date
Cédric Krier f604a31f14 Test the existence of the request context key before using it for URL
Closes #15046
2026-08-27 15:56:47 +02:00
Cédric Krier 17780ef2f7 Add scheduled task to cancel abandoned draft sale from web shop
Closes #14974
2026-07-29 15:48:59 +02:00
Cédric Krier 8a1f2d870c Add CSV as import format for account statement 2026-07-23 14:52:10 +02:00
Dimitrios Josef Moustos 17fe789471 Fix typo in MyGLS description 2026-08-29 20:21:09 +03:00
Cédric Krier c02578478e Add missing _method to url for webhooks 2026-09-03 15:42:15 +02:00
Nicolas ÉvrardandCédric Krier 77cf224b2f Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Cédric Krier <ced@b2ck.com>
2026-09-03 11:52:08 +00:00
Nicolas Évrard c2b3d6cc66 Check the existence of a getter before adding it to a field depends
Closes #15055
2026-09-03 12:24:29 +02:00
Cédric Krier acc3586deb Clear attachment preview when there is no current record
Closes #15044
2026-08-26 10:26:45 +02:00
Cédric Krier e36f2bb56d Raise BadRequest when accessing rpc properties from non RPC request
This avoids to generate a useless exception logging entry.

Closes #15039
2026-08-25 11:15:16 +02:00
Lars Wuerfel 03868125e5 Fix the "prefixes" key name in the cookiecutter template
Closes #15054
2026-09-03 12:38:02 +02:00
Cédric Krier afcab1c05c 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
2026-08-25 13:09:25 +02:00
Cédric Krier c1be38f14d Use BIGINT for table query with composed unique ID
When the maximal id of the table is too big, int4 is not enough like #15010
shows.
2026-08-14 11:55:48 +02:00
Eva Luadora b096ea372d 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
2026-09-02 13:57:21 +02:00
Cédric Krier bbbea59530 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
2026-08-24 11:56:05 +02:00
Cédric Krier c18ab9e30f Cache the help with the selection per domain in selection mixin
Closes #15031
2026-08-21 10:04:05 +02:00
Cédric Krier 34b9ac086c 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
2026-08-21 15:26:56 +02:00
Nicolas Évrard 14de445672 Remove useless XML file from tests module 2026-02-24 22:38:23 +01:00
Nicolas Évrard 4e3ac1e465 Remove unrequired XML files from tests module registration 2026-02-24 22:37:16 +01:00
Nicolas Évrard 385bce6315 Add function to import XML files for tests
Close #14627
2026-09-01 18:49:45 +02:00
Cédric Krier f53376fa30 Use the directory of the stream name as base when parsing XML 2026-09-01 21:57:25 +02:00
Cédric Krier 352dedba42 Display the new record form of wizard after setting the default values
We must delay the display after the default values of the record has been set
otherwise we may trigger unnecessary RPCs (like search/reading for useless
domain).

Closes #15030
2026-08-25 12:26:08 +02:00
Cédric Krier 6ac489eecb Make wizard wait for setting default value before ending processing
Closes #15040
2026-08-25 12:24:36 +02:00
Cédric Krier 280fc5b322 Disable the wizard buttons while processing
Closes #15026
2026-08-20 11:56:35 +02:00
Cédric Krier 3a5da53376 Manage the sign on LineTotalAmount instead of BilledQuantity in UN/CEFACT 16B-CII
Closes #15006
2026-08-11 12:10:58 +02:00
Cédric Krier 37ca2e5340 Set PostOfficeBox when address has a post box in UN/CEFACT 16B-CII
Closes #15005
2026-08-11 12:08:26 +02:00
Cédric Krier 1b0836a846 Set format attribute for DateTimeString in UN/CEFACT 16B-CII
Closes #15004
2026-08-11 12:05:48 +02:00
Cédric Krier 541de2af25 Warn about using too much significant digits for float and numeric
Closes #14870
2026-07-29 18:28:56 +02:00
Cédric Krier e99389176d Prevent clicking on the toolbar while an action is still running
Closes #15028
2026-08-20 16:33:20 +02:00
Cédric Krier 24c1f31798 Always set the cursor on reload
The screen looses the cursor because it is set inert.
2026-08-20 15:19:36 +02:00
Cédric Krier 32bea93183 Prevent clicking on screen when record is reloading
When a record is reloading, the action of the widgets may be wrongly evaluated
like the context so we prevent the user to click by making inert the screen
container.

Closes #13595
2026-08-20 15:13:37 +02:00
Cédric Krier 4590287d2b Ensure to use an estimated count greater than 1 when applying log10
Closes #15038
2026-08-25 09:46:47 +02:00
Cédric Krier dc73f174bd 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
2026-08-25 09:45:59 +02:00
Adrià Tarroja Caubet 8b3dfd63a9 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
2026-08-06 13:09:48 +02:00
Adrià Tarroja Caubet 907bcde87c 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
2026-08-06 13:08:45 +02:00
Cédric Krier d7bf520b93 Use POST method to construct URL for Peppyrus webhooks 2026-09-01 00:44:08 +02:00
Cédric Krier 16c3858e36 Update the Stripe API version 2026-08-31 23:33:27 +02:00
Nicolas Évrard 331131f111 Use Router to register URL endpoints in the pool 2026-08-28 12:06:27 +02:00
Cédric Krier c9c95f9bfd Support explicit request context in URLAccessor 2026-08-27 13:08:43 +02:00
Nicolas Évrard b54668ad94 Use Pool classes attributes to get allowed pool types 2026-06-06 16:16:47 +02:00
Nicolas Évrard e81b251a09 Scroll smoothly as it provides a nicer effect for the users 2026-08-19 19:22:03 +02:00
Nicolas Évrard 43fef29239 Add horizontal scrolling to scrollIntoViewIfNeeded
Closes #15025
2026-08-19 19:21:05 +02:00
Cédric Krier 406737f9aa 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
2026-08-14 12:55:53 +02:00
Cédric Krier 3cdb3b0fb5 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
2026-08-14 18:11:42 +02:00
Cédric Krier 47dd11660d 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
2026-08-17 17:32:55 +02:00
Cédric Krier 9726c4da41 Format IBAN number after edition 2026-08-01 10:21:45 +02:00
Cédric Krier d5064e1b0b Make locations readonly on stock move when linked to a shipment without being edited from it
This ensures that the domain from the shipment fields can not be skipped.

Closes #12564
2026-07-16 11:04:37 +02:00
Cédric Krier bd350be3f8 Enforce shipment domain on stock moves
On shipment where moves are split into two fields, we must enforce at least one
of the domain of each field.
2026-07-16 11:03:16 +02:00
Cédric Krier cc08e82ecc Allow the creation of shipping label for packages when the shipment state is shipped
Closes #15027
2026-08-20 12:02:57 +02:00
Cédric Krier 550b638dc6 Remove prefix for statement and payment journals action 2026-07-15 18:16:16 +02:00
Cédric Krier 85beac3053 Protect writing configuration of tryton with a thread lock
Closes #6114
2026-07-27 12:10:00 +02:00