fix: Copy Discount Account from first row
This commit is contained in:
parent
4b8918e8a7
commit
81375aec1f
@ -365,7 +365,7 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
|
||||
items_add(doc, cdt, cdn) {
|
||||
var row = frappe.get_doc(cdt, cdn);
|
||||
this.frm.script_manager.copy_from_first_row("items", row,
|
||||
["expense_account", "cost_center", "project"]);
|
||||
["expense_account", "discount_account", "cost_center", "project"]);
|
||||
}
|
||||
|
||||
on_submit() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user