Commit Graph
60871 Commits
Author SHA1 Message Date
Cédric Krier e7bbc4218b Display account moves field on stock move form
Closes #9190
2026-07-30 09:35:03 +02:00
Cédric Krier 6792138df4 Override contextual groups and administrator when evaluating button states
Closes #15098
2026-09-15 15:23:42 +02:00
Cédric Krier 7a563a3789 Include administrators in button states based on groups
Since 6ebedcf8826e, administrators have no more groups.

Closes #15097
2026-09-15 15:19:40 +02:00
Cédric Krier c55bdeed26 Add routes for sao custom in base route
Closes #13927
2026-09-08 09:58:42 +02:00
Cédric Krier ef58bc6b82 Edit selected One2Many rows at once
Closes #14997
2026-08-06 14:53:51 +02:00
Cédric Krier bc1de342d1 Pass query as a list of argument to format_args for Shopify query logging 2026-08-06 09:46:51 +02:00
Cédric Krier 264cb3eaee Add logging info about Shopify request
The shopify_app does not generate any logging except the raw info from httpx.
2026-08-06 08:48:19 +02:00
Cédric Krier 8c09693e15 Do not clear incoming moves that has been added to a shipment for amendment
Closes #15070
2026-09-07 15:24:40 +02:00
Cédric Krier a89a70f6f3 Add Factur-X format to invoice report 2026-09-15 08:32:03 +02:00
Cédric Krier f48cb3e7b1 Allow to customize the storage of invoice report 2026-06-15 15:25:20 +02:00
Cédric Krier ddaeb181c0 Require a message file for SEPA message
Closes #15073
2026-09-07 18:12:38 +02:00
Cédric Krier 436e20a75f Test if the line's origin is an instance of ModelStorage before accessing the record name
Closes #15072
2026-09-07 18:01:00 +02:00
Nicolas Évrard 2b240751ce 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
2026-09-10 22:12:59 +02:00
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