Merge pull request #26005 from resilient-tech/fix-se

fix: syntax error in Stock Entry
This commit is contained in:
Sagar Vora 2021-06-10 16:54:11 +05:30 committed by GitHub
commit ba333927f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -984,7 +984,7 @@ erpnext.stock.StockEntry = class StockEntry extends erpnext.stock.StockControlle
if(!row.t_warehouse) row.t_warehouse = this.frm.doc.to_warehouse;
}
from_warehouse: function(doc) {
from_warehouse(doc) {
this.frm.trigger('set_transit_warehouse');
this.set_warehouse_in_children(doc.items, "s_warehouse", doc.from_warehouse);
}