Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating Order and Invoice for product sale with WooCommerce variant #88

Open
sptechcue opened this issue May 1, 2024 · 0 comments

Comments

@sptechcue
Copy link

I have a client that uses Woocommerce Connector, it synchronizes stock, orders, customers, all good so far.

image

But there is a snag with an order you had recently, I recreated it on my test machine and give you an example:

You have 2 items with 2 variants each:

Shoe 1: VARIANT: Color Red VARIANT: Size 8
VARIANT: Color Red VARIANT: Size 9
Shoe 2: VARIANT: Color Blue VARIANT: Size 8
VARIANT: Color Blue VARIANT: Size 9


When a customer buys in the same order 2 shoes of the same model, but different sizes:
Shoe 1: VARIANT: Color Red VARIANT: Size 8
VARIANT: Color Red VARIANT: Size 9

image

When the Sales Order (SO) and the sales invoice are created, only one of the two variants appears in the 2 items.

SALES ORDER
image

SALES INVOICE
image

But when checking the woocommerce log it does import correctly.

image

image

image

I have tested it in ERPNext v13, v14 and v15 and in all of them it is the same.
Maybe someone can give me a hand.
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant