Commit Graph
60907 Commits
Author SHA1 Message Date
Cédric Krier c17618d0d8 Make landed cost field on account invoice line not editable instead of readonly
Users must be allowed to edit it when adding invoice lines to a landed cost.
2026-09-21 10:04:34 +02:00
Cédric Krier bdefd24bbc Use decorator before ModelView.button to set default records for cron task
Closes #15076
2026-09-09 12:22:52 +02:00
Cédric Krier 1bc165be5e Set timeout to 0 when receiving PostgreSQL notifications
There is no need to wait 2 seconds for more notifications as we call
get_notifications only when the selector is triggered.

Closes #15102
2026-09-16 14:35:33 +02:00
Cédric Krier 6b95e56a70 Remove unnecessary assert on _defaults
By design the _defaults can always contain only field name from _fields.
2026-09-10 08:13:03 +02:00
Cédric Krier 0974e54035 Add sleep between two update status call in test scenario 2026-09-09 14:22:57 +02:00
Cédric Krier 9350bcc1c6 Make customs boolean on product category not editable when in a tree 2026-09-19 15:39:08 +02:00
Cédric Krier c25042df09 Make Stripe idempotency key field readonly only once stored
When copying the default value is set to None but the actual default value is a
random value. This triggers the check of access right on the readonly field.
2026-09-19 15:36:05 +02:00
Cédric Krier 49b16db32f Disable check access when account payment tests write on readonly fields 2026-09-19 15:34:10 +02:00
Cédric Krier b94883b9be Save imported translations only if they are modified
Closes #15071
2026-09-08 10:05:31 +02:00
Cédric Krier 07a2e268c6 Use bulk context manager
Closes #11750
2026-07-15 09:31:05 +02:00
Cédric Krier f32aef30d0 Add bulk_create, bulk_delete, bulk_save and bulk_func to ModelStorage 2026-07-15 09:31:21 +02:00
Cédric Krier 29890edba2 Make package on stock move not editable instead of readonly 2026-09-19 11:26:06 +02:00
Cédric Krier eb3fbb1882 Update the UPS API version 2026-09-08 16:47:11 +02:00
Cédric Krier 055725b329 Display the journal-periods of a period on its form
Closes #15074
2026-09-08 10:34:46 +02:00
Cédric Krier cf9144a4cf Permit the selection of companies for which to create invoices and consumptions for subscriptions
Closes #15068
2026-09-04 22:11:11 +02:00
Cédric Krier 0f223d5b73 Permit the selection of companies for which to create direct debits
Closes #15067
2026-09-04 22:10:07 +02:00
Cédric Krier e428655c1e Permit the selection of companies for which to create dunnings
Closes #15066
2026-09-04 22:09:07 +02:00
Cédric Krier d87a108def Add companies and employees to the user context
This allows to use the context for domain to restrict to allowed companies and
employees.
2026-09-04 22:07:25 +02:00
Cédric Krier 2502327405 Do not copy payment amount cache when copying account move line
Closes #15111
2026-09-19 10:03:57 +02:00
Cédric Krier 8a65fb249b Use router url_for to set return url of Stripe checkout 2026-09-03 15:54:42 +02:00
Cédric Krier bc8def47b0 Enforce the type of login parameters
As they are received from a non authenticated entrypoint, we must ensure their
types.
2026-09-02 12:19:42 +02:00
Cédric Krier 53a97c277d Check if the user argument is a string on login and reset password
Those entrypoints do not require authentication so we must enforce explicitly
the type of argument.

Closes #15048
2026-09-02 12:18:08 +02:00
Cédric Krier b2fba546de Do not deactivate coupon number starting the future
If they are deactivated, they can not more be created or modified.
2026-08-31 18:36:13 +02:00
Cédric Krier 56e1a24be4 Distinct readonly and editable states 2026-08-31 23:21:03 +02:00
Cédric Krier e711ce7cb0 Add editable state on field 2026-08-31 13:45:03 +02:00
Cédric Krier 422c99bd7b Do not enforce access rights when performing action on delete
Closes #15050
2026-08-31 13:43:41 +02:00
Cédric Krier 91f27f64fd Permit to set _check_access when using trytond config 2026-08-31 13:39:42 +02:00
Cédric Krier 86e3da9b96 Enforce readonly on field when checking access
Closes #4207
2026-09-19 08:09:17 +02:00
Nicolas Évrard 8c64c300e6 Support getting and setting tree widths without a screen width
Closes #15099
2026-09-18 23:52:09 +02:00
Cédric Krier cfee0e7589 Add missing comment about structured tag for remittance information 2026-08-24 15:10:12 +02:00
Cédric Krier f3c460972c Add pain.008.001.08 flavor to SEPA payment 2026-08-24 15:08:28 +02:00
Cédric Krier 1d796d560d Add pain.001.001.09 flavor to SEPA payment 2026-08-24 11:50:30 +02:00
Nicolas Évrard 89b50e2459 Add an optional icon to the login services
Closes #14915
2026-09-18 13:30:12 +02:00
Cédric Krier 548226de8e Store any selection in selection mixin to compute textual value
Since 917de1b3e124 the current selection is no more stored but it is needed to
render textual value of a column synchronously.

Closes #15104
2026-09-17 16:18:47 +02:00
Cédric Krier d9c59a242d Disable the login services on the localhost URL
Closes #15045
2026-08-27 09:19:47 +02:00
Cédric Krier b0136be619 Parse Cross Industry Invoice as supplier invoice 2026-08-31 12:26:39 +02:00
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