Commit Graph
186 Commits
Author SHA1 Message Date
Cédric Krier 9f01d1f61a Increase version number
--HG--
branch : 8.0
2026-05-20 23:27:30 +02:00
Cédric Krier 2f737a26e4 Prepare release web_shop_shopify-8.0.1
--HG--
branch : 8.0
2026-05-20 23:27:19 +02:00
Cédric Krier 3ea873f887 Do not reset to quotation Shopify order already processed
After a refund the authorized payment amount may be lower than the amount to
pay but the sale should still stay in processing or done state.

Closes #14816
(grafted from 9df991a256f872f8d9623b675732b1480534e553)

--HG--
branch : 8.0
2026-05-05 00:11:08 +02:00
Cédric Krier 35e4dac5d6 Fix computation of documentation series for odd minor version
(grafted from f4d6cf9d57ce7c69bcde185f933f866c0dd40301)

--HG--
branch : 8.0
2026-04-20 21:23:36 +02:00
Cédric Krier 045421c749 Increase version number
--HG--
branch : 8.0
2026-04-20 21:01:58 +02:00
Cédric Krier 7f0d38f477 Prepare release 8.0.0 2026-04-20 20:10:13 +02:00
Cédric Krier de1bb5d5d9 Update translations [skip ci] 2026-04-20 10:38:52 +02:00
Cédric Krier 1c80557101 Sort Shopify products by ID when position is None
Closes #14774
2026-04-15 16:26:20 +02:00
Cédric Krier 905a2b20ba Rename invoice method on shipment into on fulfillment 2026-02-25 11:37:37 +01:00
Cédric Krier 264e27d88e Replace ShopifyAPI by shopifyapp
Closes #14243
2026-03-29 20:05:46 +02:00
Cédric Krier 75ec32b080 Set header for sale from shopify before setting the lines
The lines may depend on the header like the shipping line which depends on the
carrier.

Closes #14706
2026-03-25 23:25:50 +01:00
Cédric Krier df5dc23253 Add support for pick-up delivery method from Shopify
Closes #14581
2026-03-27 13:38:34 +01:00
Cédric Krier 41f63dbb1a Log the update of sales from Shopify
Closes #14711
2026-03-26 10:58:16 +01:00
Cédric Krier 248dbc45f2 Fetch all non cancelled Shopify orders
Orders with only gift cards are directly archived by Shopify but we need to
fetch them.
2026-02-04 16:39:09 +01:00
Cédric Krier f9cfa0c422 Add support for gift card products on Shopify
Closes #14417
2026-01-09 18:31:28 +01:00
Cédric Krier 39a22ae74f Use python3 to launch build 2026-03-26 00:32:49 +01:00
Cédric Krier 94c4f0a9e6 Rewrite coverage paths
Since tox is running tests on the installed package, the coverage paths are no
more relative to the repository root.
2026-03-25 19:39:52 +01:00
Cédric Krier a51a6249c0 Add attn to address
Closes #14633
2026-02-27 12:55:11 +01:00
Cédric Krier a61814d46e Assign shipment before pick in Shopify test scenario 2026-02-10 19:22:32 +01:00
Cédric Krier 145ce8f2f8 Make retrieval of metadata via build really quiet 2026-03-22 09:07:23 +01:00
Cédric Krier f6cc09c813 Do not check link to help.shopify.com
The website requires JavaScript.
2026-03-23 09:03:05 +01:00
Cédric Krier 5310b00496 Remove grouped_slice per IN_MAX
The usage of ``grouped_slice`` without size is deprecated since `=
ANY(ARRAY[%s])` is used for PostgreSQL and SQLite is used only for tests.

The ``Database.IN_MAX`` is replaced by ``backend.MAX_QUERY_PARAMS`` which is a
more accurate limit of the backend.
The SQLite limits is indeed SQLITE_MAX_EXPR_DEPTH so we use a empirical value.
2026-03-22 21:05:26 +01:00
Nicolas Évrard 299dd6b1c9 Update to Psycopg 3
Closes #10901
2026-03-22 19:53:32 +01:00
Cédric Krier d3c8a8e55d Add support for Python 3.14 2026-03-21 09:02:25 +01:00
Cédric Krier 42b0fc7061 Remove support for Python 3.9 2026-03-21 08:48:06 +01:00
Cédric Krier e15c0b7d7a Upgrade to pyproject using hatchling as build-system 2026-03-21 18:46:34 +01:00
Cédric Krier af2e06bb32 Set headers and restrict to 1 worker when checking documentation link
This follows the wikipedia robot policy:
https://wikitech.wikimedia.org/wiki/Robot_policy

Closes #14637
2026-03-02 10:58:19 +01:00
Cédric Krier 00c723b0eb Manage payment terms from Shopify
The sale is always confirmed when the Shopify order has payment terms.

Closes #14619
2026-02-20 17:50:02 +01:00
Cédric Krier aafdc31cea Add an web shop URL to sales
Closes #14538
2026-01-22 18:32:26 +01:00
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