Merge pull request #1765 from anandpdoshi/hotfix
Fixed Purchase Receipt qty trigger
This commit is contained in:
commit
276386c94a
@ -12,8 +12,7 @@ def execute():
|
||||
"Designation", "Earning Type", "Event", "Feed", "File Data", "Fiscal Year",
|
||||
"HR Settings", "Industry Type", "Jobs Email Settings", "Leave Type", "Letter Head",
|
||||
"Mode of Payment", "Module Def", "Naming Series", "POS Setting", "Print Heading",
|
||||
"Report", "Role", "Sales Email Settings", "Selling Settings", "Shopping Cart Settings",
|
||||
"Stock Settings", "Supplier Type", "UOM"):
|
||||
"Report", "Role", "Sales Email Settings", "Selling Settings", "Stock Settings", "Supplier Type", "UOM"):
|
||||
try:
|
||||
frappe.reset_perms(doctype)
|
||||
except:
|
||||
|
@ -64,7 +64,7 @@ erpnext.stock.PurchaseReceiptController = erpnext.buying.BuyingController.extend
|
||||
item.rejected_qty = flt(item.received_qty - item.qty, precision("rejected_qty", item));
|
||||
}
|
||||
|
||||
this._super();
|
||||
this._super(doc, cdt, cdn);
|
||||
},
|
||||
|
||||
rejected_qty: function(doc, cdt, cdn) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user