frappe / frappe/ecommerce_integrations

Incorrect batch being fetched when the syncing orders from shopify

Open
#362 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
206
Forks
275
Avg merge
54m
Merged PRs (30d)
1

Description

When the item has two batches in the same warehouse, Batch A has stock availability, but Batch B doesn't have any stock. While syncing the fulfillments from Shopify, the delivery note is being created with Batch B, and results in error

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Shopify fulfillment-sync flow and its batch-selection entry point. Reproduce the case with two batches for one warehouse, where only Batch A has stock; done means the delivery note selects the available batch and the sync no longer errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.