Skip to content

Negative product qty with "-" is not valid in admin panel product page #7197

@HellgaM

Description

@HellgaM

Negative product qty with "-" is not valid even if "backorder" is enabled
https://drive.google.com/a/interiorwebdesign.com/file/d/0ByJDgAmB3zgAYk0tQmRhVnZWNms/view?usp=drivesdk

Preconditions

Magento version is 2.1.0
PHP 7
MySql 5.6

Steps to reproduce

  1. Open product in admin panel
  2. Set inventory "-8"
  3. try to save product

Expected result

  1. Value with "-" should be valid

Actual result

  1. Can't save the product because of not valid qty

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions