Commit Graph
157 Commits
Author SHA1 Message Date
Cédric Krier 212d6e5a45 Round quantity instead of truncate for Shopify fulfillment
Closes #14502
2026-01-15 17:28:20 +01:00
Cédric Krier 2e6dc5f27c Lock the sale being processed for Shopify
Closes #14500
2026-01-15 15:22:09 +01:00
Cédric Krier 72492c3952 Do not try to fulfill on Shopify cancelled or closed fulfillment order
Closes #14479
2026-01-09 11:34:16 +01:00
Cédric Krier 6ef9085289 Add missing parameter to get_shopify of customer shipment with package shipping
fulfillment_order_fields is a parameter of the extended method.

Closes #14478
2026-01-09 11:29:24 +01:00
Cédric Krier aefd12642a Use always the immutable value from the cache
This prevents issues like #14433 from being missed.
2025-12-19 09:39:32 +01:00
Cédric Krier d8981ef84d Remove duplicate tests depend for web_shop_shopify 2025-12-17 16:10:04 +01:00
Cédric Krier 5b4efd9fd6 Order product by position instead of sequence for Shopify
0b69c726fc26 order by the non-existing sequence field instead of position.
2025-12-29 20:47:40 +01:00
Cédric Krier 66dceea550 Use product sequence to sort for Shopify
An inactive product is not in the products list of the template.

Closes #14439
2025-12-19 19:44:31 +01:00
Cédric Krier 122ade0b30 Increase version number 2025-12-15 21:34:54 +01:00
Cédric Krier 692810e7b8 Prepare release 7.8.0 2025-12-15 20:17:16 +01:00
Cédric Krier 954f137e65 Update translations [skip ci] 2025-12-15 18:00:12 +01:00
Cédric Krier fa8cefff05 Use a random Shopify handle for product in test scenario 2025-12-01 18:41:01 +01:00
Cédric Krier 998aa90a72 Set the language to party from the Shopify customer
Closes #14257
2025-12-01 16:52:59 +01:00
Cédric Krier bcd594fe74 Add logging for Shopify GraphQL queries and webhooks 2025-09-22 14:45:09 +02:00
Cédric Krier 23b4ec2aad Add admin URL to Shopify identifiers
Closes #14160 #14164
2025-08-14 14:31:32 +02:00
Cédric Krier 047d89886b Set compare-at price on Shopify using non-sale price
Closes #14155
2025-08-12 15:32:34 +02:00
Cédric Krier 03b82163ce Add support for product kit on Shopify
Closes #14129
2025-10-09 19:12:53 +02:00
Cédric Krier 567cae3c86 Add carrier selection for Shopify order
Closes #14102
2025-07-03 16:49:46 +02:00
Cédric Krier 807b593f1e Use GraphQL API instead of REST API of Shopify
The REST API has been deprecated.

Closes #13598
2025-12-01 16:46:23 +01:00
Cédric Krier 77a214385c Test Shopify module with extra dependencies 2025-06-30 17:01:31 +02:00
Cédric Krier 1cfac84ebc Keep sale line removed from Shopify order
It is not allowed to delete a sale line if the sale state is not draft or
cancelled.

Closes #14376
2025-11-20 10:14:13 +01:00
Cédric Krier 2ce1adfc04 Do not prevent to process sale line without product and quantity from Shopify
When a line is removed on Shopify, the quantity of the sale line is set to 0 in
Tryton because Shopify refund the line.
So such line without product must not prevent to process the sale as they will
not generate any stock move nor invoice line.

Closes #14375
2025-11-20 10:10:27 +01:00
Cédric Krier d6fad7d10c Do not create contact mechanism for invalid email from Shopify
Closes #14368
2025-11-17 14:38:07 +01:00
Cédric Krier 6a05c7597d Remove party name from address name for shipping services
If the party name of the address starts with the name of the party, we do not
need to repeat it as the shipping services have also a field to store the party
name.

Closes #14352
2025-11-08 09:53:01 +01:00
Cédric Krier 85920a9c3c Lock web shops when fetching order from Shopify
It is needed to avoid to fill the ir.error table with unique constraint error
on the web ID when the method is called in parallel by tasks posted from the
webhook.

Closes #14360
2025-11-13 15:23:47 +01:00
Cédric Krier 19667f95fc Add test to check replaced field of replace party wizard 2025-10-31 12:03:02 +01:00
Cédric Krier c92dd960a3 Save contact mechanisms of address also when only the order is changed by Shopify
Closes #14356
2025-11-11 12:50:36 +01:00
Cédric Krier e138ff1286 Order the list of variants on the product
Closes #14285
2025-10-10 17:42:08 +02:00
Cédric Krier 342a7a42f9 Use queue to update sales from Shopify orders
Closes #14274
2025-10-05 17:44:47 +02:00
Cédric Krier 3d6558faaa Do not create Shopify fulfillment orders with a quantity of zero
Closes #14286
2025-10-11 15:06:20 +02:00
Cédric Krier 354139725c Do not allow to change template of existing product
Many models rely on the couple product-template to be immutable.

Closes #14279
2025-10-07 17:42:27 +02:00
Cédric Krier 0f331ef1fe Make Shopify identifier unique per record and web shop
Closes #14266
2025-09-30 15:55:59 +02:00
Cédric Krier c3c1b962ed Limit of shopify_orders context to test
Closes #14260
2025-09-29 11:21:39 +02:00
Cédric Krier 6f876d10c4 Always try to confirm Shopify sale after creation and update
This is in case there is no transaction/payment to trigger the confirmation.

Closes #14256
2025-09-25 17:32:00 +02:00
Cédric Krier 4b75d20420 Require phonenumbers for testing scenario
The scenario relies on phone numbers format being standardized for comparison.

Closes #14292
2025-10-14 15:40:58 +02:00
Cédric Krier 1e03263529 Add contact mechanism for the phone number from Shopify address
Closes #14253
2025-09-23 18:43:08 +02:00
Cédric Krier 533f57f73a Insert last Shopify contact mechanism as first of its type
Closes #14252
2025-09-23 16:15:57 +02:00
Cédric Krier 4fbf660b85 Add option to notify Shopify customer about fulfillment
Closes #14244
2025-09-18 14:12:16 +02:00
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
Cédric Krier 771e76f0cc Support taxes from Shopify shipping product
Closes #14192
2025-08-25 13:37:31 +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 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 5d6ec458c7 Remove unnecessary depends on Shopify UoM of product 2025-09-30 09:54:01 +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 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00