feat: allow to edit Stock Quantity in the Sales and Purchase Transactions (#36600)

feat: allow to edit Stock Quantity in the Sales and Purchase transactions
This commit is contained in:
rohitwaghchaure
2023-09-20 18:09:03 +05:30
committed by GitHub
parent e6199dc802
commit dd4769ecf1
8 changed files with 116 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ erpnext.buying = {
erpnext.buying.BuyingController = class BuyingController extends erpnext.TransactionController {
setup() {
super.setup();
this.toggle_enable_for_stock_uom("allow_to_edit_stock_uom_qty_for_purchase");
this.frm.email_field = "contact_email";
}