mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-28 23:51:48 +01:00
fix: not able to make PR against stand alone Debit Note
(cherry picked from commit 6a52c30591)
This commit is contained in:
committed by
Mergify
parent
c6de50b2a5
commit
d62960e925
@@ -194,7 +194,7 @@ erpnext.buying = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
qty(doc, cdt, cdn) {
|
qty(doc, cdt, cdn) {
|
||||||
if ((doc.doctype == "Purchase Receipt") || (doc.doctype == "Purchase Invoice" && (doc.update_stock || doc.is_return))) {
|
if ((doc.doctype == "Purchase Receipt") || (doc.doctype == "Purchase Invoice" && doc.update_stock)) {
|
||||||
this.calculate_received_qty(doc, cdt, cdn)
|
this.calculate_received_qty(doc, cdt, cdn)
|
||||||
}
|
}
|
||||||
super.qty(doc, cdt, cdn);
|
super.qty(doc, cdt, cdn);
|
||||||
|
|||||||
Reference in New Issue
Block a user