Commit Graph
60858 Commits
Author SHA1 Message Date
Nicolas Évrard 6fafcaca82 Use the default search implementation on ResourceAccessMixin
The access to search is now guarded by a method allowing only administrator to
access it.

Closes #14817
2026-09-11 17:53:07 +02:00
Nicolas Évrard 305301a53e Replace the administration group by a flag on the user 2026-09-13 17:28:32 +02:00
Nicolas Évrard 1e778036ce Remove password column from res_user in initialization SQL script 2026-07-24 14:15:03 +02:00
Cédric Krier b8a638f918 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
2026-09-13 14:01:21 +02:00
Cédric Krier fef30e24b1 Use explicit order for shipments and invoices on sale and purchase
Closes #15090
2026-09-13 13:57:29 +02:00
Cédric Krier 12699bc16c Sort invoices and shipments on Function fields of sale and purchase
Closes #15083
2026-09-10 14:14:16 +02:00
Cédric Krier 1677e52cba 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
2026-09-10 16:07:26 +02:00
Cédric Krier 28c3b66569 Remove duplicate activation of stock_package module in stock shipment measurements test case 2026-09-12 00:25:24 +02:00
Cédric Krier cdb082f133 Use extras to activate account_invoice module in UNCEFACT test case 2026-09-12 00:24:43 +02:00
Cédric Krier d3934d3473 Make DBTestCase public 2026-09-12 00:31:43 +02:00
Cédric Krier 1b29bcfb73 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
2026-09-03 17:23:33 +02:00
Cédric Krier aef6acca76 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
2026-09-02 11:43:46 +02:00
Nicolas Évrard 5f3c5c7b50 Explicitly set the previous view to switch to when opening a new Form
Closes #14975
2026-07-29 17:48:54 +02:00
Adrià Tarroja Caubet 0b1971ab59 Check for running deferrals when closing a standard period only
Invoice deferred creates moves only on standard period

Closes #15042
2026-09-10 08:20:15 +02:00
Cédric Krier b2521dcaf2 Set button decorator for sending and updating invoices on Chorus to a different method than the cron
Closes #15069
2026-09-06 10:21:56 +02:00
Cédric Krier 17ff34984c Test domain from searcher by using it in search call 2026-09-04 08:31:58 +02:00
Cédric Krier dac45a24dc Do not set searcher on ethanol volume of products by locations
The field on product is not searchable.

Closes #15064
2026-09-04 08:31:27 +02:00
Cédric Krier 075c14f296 Do not add searcher to the template function fields if the template field is not searchable
Closes #15063
2026-09-04 08:30:25 +02:00
Cédric Krier d8ca390d1b Generate a valid domain for the origin invoices via the searcher on the invoice
Closes #15062
2026-09-04 08:28:54 +02:00
Cédric Krier 88b4f59028 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
2026-08-31 12:06:40 +02:00
Maxime Richez dd821f7073 Calculate variation and check tolerance on inventory quantity and cost
Closes #14688
2026-09-03 00:02:28 +02:00
Cédric Krier ccbfbaeafa Wait until a message is received when testing subscription of bus
Closes #15065
2026-09-04 11:53:57 +02:00
Cédric Krier e936e37d8f 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
2026-09-03 15:49:20 +02:00
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