erpnext icon indicating copy to clipboard operation
erpnext copied to clipboard

Broken calculation of quantity when changing quantity in batch selector of a non-stock uom item

Open carstenblt opened this issue 1 year ago • 0 comments

Information about bug

In a Sales Invoice, when changing the quantity in the Batch / Serial selector modal, the quantity of the item in the item list is changed to the total quantity of the item in stock UOM without the conversion factor to the selected UOM.

In addition to this, this process of creating a return invoice is of course very unintuitive. When there is only a single batch in the original SABB, the qty should be changed automatically.

The UOM in the video has a conversion factor of 1.1.

https://github.com/frappe/erpnext/assets/11031419/3d9c8a51-163e-4cbe-a512-ebe343050209

Module

selling

Version

ERPNext: v15.12.1 (HEAD) Frappe Framework: v15.13.0 (HEAD)

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

carstenblt avatar Feb 09 '24 13:02 carstenblt