Cédric Krier
70592e8e91
Add a refund line for Shopify refund that are not linked to items
...
Closes #14875
(grafted from 158941e2a9d5ad0097e755e6602f7d168333559a)
--HG--
branch : 8.0
2026-06-16 20:40:21 +02:00
Cédric Krier
c44fb4dbd3
Process Shopify sale only if the authorized payment amount is greater than the amount to pay
...
The correction of #14816 was wrong and the amount to pay should be modified if
there is a global refund.
(grafted from dfbbbe26ad8eb25fd6dc1ad0a68cb7cec8307aae)
--HG--
branch : 8.0
2026-06-03 15:06:05 +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
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
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
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
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
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
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
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
342a7a42f9
Use queue to update sales from Shopify orders
...
Closes #14274
2025-10-05 17:44:47 +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
4fbf660b85
Add option to notify Shopify customer about fulfillment
...
Closes #14244
2025-09-18 14:12:16 +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
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
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
e60c2ba8b4
Create draft sale with guest party for Shopify order without customer and update it later
...
Closes #14167
2025-08-16 10:33:56 +02:00
Cédric Krier
08ed6e529b
Clear the Shopify tax adjustment before recalculating it
...
Closes #14143
2025-08-21 10:38:46 +02:00
Cédric Krier
aa0bf2e7ba
Reset to draft sales updated from Shopify
...
As the update from Shopify may need to add new lines which can only be created
for a draft sale.
Closes #14099
2025-07-02 13:25:56 +02:00
Cédric Krier
dedbd6df06
Reset to quotation Shopify sale with insufficient authorized payment amount
...
Shopify order can be modified from the admin in such way that the total
increase and it is only partially paid.
In such case we must prevent to process the sale by resetting to quotation
until being fully paid.
Closes #13961
2025-04-03 17:21:15 +02:00
Cédric Krier
130da3b56d
Archive Shopify products removed instead of deleting them
...
Such that customization made from the admin interface are preserved if the
product is republished.
Closes #13962
2025-04-04 00:27:57 +02:00
Cédric Krier
5aeff66acd
Use ModelStorage hooks instead of extending create/write/delete
2025-04-06 00:14:17 +02:00
Cédric Krier
8653689b22
Do not fetch Shopify locations without session parameters
...
Closes #13888
2025-02-25 16:19:53 +01:00
Udo Spallek
8b252472c4
Replace usage of docstring of Model by __string__ attribute
...
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier
575d1d0132
Change _changed_values and _save_values properties to method
...
Closes #13317
2024-06-09 19:54:52 +02:00
Cédric Krier
c80310c2dc
Add warning when changing credentials
...
Closes #13126
2024-03-25 14:24:55 +01:00
Cédric Krier
a0c723970f
Test if Shopify attribute is not empty before using it
...
Shopify seems to have changed from not setting empty attributes to setting
them empty.
Closes #12097
2023-02-17 12:07:43 +01:00
Cédric Krier
ca02b37147
Prepare migration to monorepo
2022-12-16 14:53:41 +01:00