Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug: Generating variants after an SO is confirmed: transfer shows product ID instead of name, and Quantity tab shows irrelevant quantity #1336

Copy link
Copy link

Description

@harshqa-webkul
Issue body actions

Summary

When stock and a Sales Order already exist for a product, and attributes are added and variants are generated afterwards, two problems appear:

  • (A) In the validated transfer/delivery, the product is shown as a raw product ID (number) instead of its name.
  • (B) The product's Quantity tab shows irrelevant / wrong quantity (parent and variant quantities mixed together).

The underlying cause is that the SO line and the resulting move still point to the original product, which has now become a configurable parent after variants were generated.

Steps to Reproduce

  1. Go to a product and add quantity (on-hand stock).
  2. Create a Sales Order for that product and confirm it.
  3. Add attributes to the same product and generate variants (product becomes configurable).
  4. Validate the SO's transfer/delivery.
  5. Check the transfer lines, and open the product's Quantity tab.

Expected

  • (A) The transfer lines should show the product name.
  • (B) The Quantity tab should show the relevant quantity (parent vs variants handled consistently).

Actual

  • (A) The transfer shows the product as a raw ID number, not the name.
  • (B) The Quantity tab shows irrelevant quantities.

Issue Recording:

Screencast.from.19-06-26.11.49.34.AM.IST.webm
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.