Skip to content

Bug: Delete product leaves empty stock entries #1

@bitsandbots

Description

@bitsandbots

Describe the bug
Delete product leaves empty stock entries

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Products'
  2. Click on 'delete product'
  3. Go to 'Manage Stock'
  4. See error

Expected behavior
Delete product should remove corresponding stock entries, or force the user to delete the stock entries before permitted to delete product.

Screenshots
Stock entry

Desktop (please complete the following information):

  • OS: [ Windows 10 x64 ]
  • Browser [ chrome ]
  • Version [ 87 ]

Smartphone (please complete the following information):

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions