Commit Graph
59695 Commits
Author SHA1 Message Date
Cédric Krier baf798eb6a Add a status URL to sales from web shop
Closes #14210
2025-09-02 10:14:54 +02:00
Cédric Krier 759a7c186d Forbid resetting to draft cancelled shipment from Shopify
Closes #14207
2025-08-29 14:38:40 +02:00
Nicolas Évrard 9839c0902d Add test that fields in __access__ are required
Closes #14261
2025-09-29 13:16:49 +02:00
Adrià Tarroja Caubet c9d323f544 Add a timestamp parameter to the URLs of the product images
Closes #11456
2025-10-11 13:27:37 +02:00
Cédric Krier ecc9ffc7de Add stock inventory and turnover reports 2025-10-11 10:46:03 +02:00
Cédric Krier da6b14a99b Decode the SQL query logged by the Postgresql backend
This makes it easier to copy and paste the query when debugging.
2025-08-27 10:00:14 +02:00
Cédric Krier 771e76f0cc Support taxes from Shopify shipping product
Closes #14192
2025-08-25 13:37:31 +02:00
Cédric Krier f6c86bf30a Use sub-test when testing search domain with deactivable mixin 2025-08-23 20:29:51 +02:00
Cédric Krier 9aff219032 Use an alert for processing notification 2025-08-22 00:13:56 +02:00
Cédric Krier 778d064f56 Add routes to open Shopify objects
Closes #14176
2025-08-20 14:01:18 +02:00
Cédric Krier c642173094 Add support for credit refunds with Shopify
Closes #14165
2025-08-15 13:08:08 +02:00
Cédric Krier 245092d63b Add support for refunding payments on sales
Closes #14166
2025-08-15 09:11:10 +02:00
Cédric Krier 7c4504f23a Do not use the order object from Shopify webhook update
But fetching the order we ensure to fetch all the data needed.
2025-08-16 14:10:56 +02:00
Cédric Krier 440b920654 Add button to update the sales from their web shop
Closes #14163
2025-08-14 12:56:41 +02:00
Cédric Krier faf11a8e48 Add web shop URLs to products
Closes #14160
2025-10-09 10:20:31 +02:00
Cédric Krier 6ba56ce0c8 Allow a different list price to be set for each variant
Closes #14154
2025-10-07 16:23:45 +02:00
Cédric Krier 965aa923c7 Include reference in shipment record name and fallback to id when empty
Closes #14147
2025-08-06 10:10:23 +02:00
Cédric Krier df1f944489 Order POS sale by descending date
Closes #13985
2025-08-01 10:34:42 +02:00
Xavi Hermoso 93385742d2 Make quality control points name unique per control
Closes #14124
2025-10-08 13:00:22 +00:00
Cédric Krier f325924717 Do not update measurements of all shipments for empty list
Closes #14271
2025-10-02 10:44:10 +02:00
Cédric Krier 5d6ec458c7 Remove unnecessary depends on Shopify UoM of product 2025-09-30 09:54:01 +02:00
Nicolas Évrard 818f26253a Remove has_window_functions on Database 2025-10-04 22:45:53 +02:00
Nicolas Évrard fb57dd9a25 Set a minimal supported version of sqlite 2025-10-06 17:36:06 +02:00
Cédric Krier 981d4768a1 Rename config variable to avoid naming collision
bd7e0b1a1276 import the trytond config as config now which was overridden by
the account configuration instance.
2025-10-07 15:15:52 +02:00
Cédric Krier befa450e47 Do not lock web shop records when fetching or updating Shopify order
It is not needed as the unique constraint on the sale for the shopify
identifier ensures that only one sale is created per order.

Closes #14259
2025-09-29 11:15:52 +02:00
Cédric Krier 74ee169c54 Refactor of trytond.config to add cache
This removes the need to store configuration in global variable and so make it
easier to update for example for testing.

Closes #14249
2025-10-07 08:19:57 +02:00
Cédric Krier 5fdcba985b Set width to 100% on all elements between pane and screen-container
Without the 100% width, Chrome does not render an horizontal scrollbar when the
form overflow the pane width.

Closes #14197
2025-09-23 12:12:52 +02:00
Sergi Almacellas Abellana a705be3b98 Leave the unit price field empty for the purchase line of production outsourcing
Since changeset 65be15fb7d8a the unit price is not required until
the purchase is confirmed

Closes #14245
2025-09-19 09:12:53 +02:00
Nicolas Évrard 736eda2333 Handle URL host of the bus on login instead of using a redirect
Browsers remove authorization header upon cross-origin redirect.

Closes #12329
2025-10-06 17:03:41 +02:00
Nicolas Évrard f0199c149b Validate the session without using the pool on bus requests 2025-10-04 15:53:18 +02:00
Nicolas Évrard a72adf0fdc Restrict sessions to the client's IP address
Closes #13909
2025-10-05 17:17:14 +02:00
Cédric Krier c9980988cc Store in the cache all the lines to reconcile when searching for the best reconciliation
When the last line is pop from the debit/credit list, the access to the balance
may invalidate the cache of other records to fill the cache of the last one.
This may become very inefficient on large list of lines.
So by setting the record cache size to the size of the list of lines, we ensure
that no cache is invalidated during the calculation.

Closes #14230
2025-09-15 13:18:39 +02:00
Cédric Krier 8b283d14a0 Use cache functools to cache entry points 2025-09-18 10:19:13 +02:00
Cédric Krier d80a166f2a Add cache to find_path tool 2025-09-18 10:18:54 +02:00
Cédric Krier 33d85882ad Compute root path of trytond only once 2025-09-18 10:18:21 +02:00
Cédric Krier ee18ba3924 Cache the module configuration 2025-09-18 10:17:27 +02:00
Cédric Krier 8e1c951e1e Add test for register conditionals in extras depend of module 2025-09-09 14:22:28 +02:00
Cédric Krier 134c35345e Make product_price_list_dates extras depend on purchase_price_list
Closes #14241
2025-09-18 09:13:01 +02:00
Cédric Krier fbee7be655 Make sale_product_quantity extras depend on sale_point
Closes #14240
2025-09-18 09:10:45 +02:00
Cédric Krier c0df960de7 Make sale_supply_production extras depend on production_routing
Closes #14239
2025-09-18 09:08:10 +02:00
Cédric Krier 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00
Cédric Krier 390dd930d8 Compare product data feed CSV independently of the header order in tests 2025-09-18 09:44:17 +02:00
Cédric Krier 9b39b6f170 Disable action and reload toolbar menu when there is no record
There is no action to execute without a record.

Closes #11929
2025-09-23 11:37:19 +02:00
Cédric Krier 457adf3ebc Hide buttons and links when there is no record
There is no action to run without a record.

Closes #14250
2025-09-23 11:35:23 +02:00
Cédric Krier 63ef97ca4f Use only components without product from the template as the default components for the product
Closes #14246
2025-09-19 14:04:29 +02:00
Cédric Krier b934cd7b4e Enforce the same company, currency and party when the payment origin is a sale
Closes #14237
2025-09-17 16:28:04 +02:00
Cédric Krier c76a97868a Enforce the same party only for draft payments of sales
Closes #14236
2025-09-17 16:25:56 +02:00
Cédric Krier 7153bca657 Update sale addresses also for guest party from Shopify order
If the guest party is set back because the customer has been removed on
Shopify, the addresses must be also set back to those from the guest party.

Closes #14235
2025-09-17 15:21:54 +02:00
Cédric Krier 076fcbcc0a Use current total price when creating sale from Shopify order
At the creation the order may already have the total price modified by refund
etc.

Closes #14234
2025-09-17 13:23:09 +02:00
Cédric Krier 9e725456fd Do not try to fulfill move not linked to a Shopify order line
Closes #14232
2025-09-16 10:57:50 +02:00