Files
erpnext/erpnext
mergify[bot] e69bff0caa fix: Auto Insert Item Price If Missing when discount & blank UOM (backport #31168) (#31267)
fix: Auto Insert Item Price If Missing when discount & blank UOM (#31168)

* fix: Auto Insert Item Price If Missing when discount and blank UOM

fixes wrong item price insert when discount is used and adds uom=stock_uom instead of blank as price is converted to stock uom

* unit tests added for item with discount

I have added test  for auto_insert_price where discount is used.

* unit test issue fixed

fixed make_sales_order as some of the test that depended on it were failing due to passing of incorrect parameters.

Co-authored-by: Ankush Menat <me@ankush.dev>
(cherry picked from commit b3ccc4bfb9)

Co-authored-by: maharshivpatel <39730881+maharshivpatel@users.noreply.github.com>
2022-06-07 16:04:00 +05:30
..
2022-04-12 23:31:47 +05:30
2022-03-29 17:29:34 +05:30
2022-03-29 17:29:34 +05:30
2022-05-25 23:52:40 +05:30
2022-03-29 17:29:34 +05:30
2022-06-07 14:10:44 +05:30
2022-06-07 11:08:29 +05:30
2022-03-29 17:29:34 +05:30