Fix tests

This commit is contained in:
Saif Ur Rehman
2019-01-06 18:14:18 +05:00
parent 7ea6554f1f
commit 13a6c0aeff
6 changed files with 16 additions and 11 deletions

View File

@@ -169,6 +169,8 @@ erpnext.utils.set_taxes = function(frm, triggered_from_field) {
"party_type": party_type,
"posting_date": frm.doc.posting_date || frm.doc.transaction_date,
"company": frm.doc.company,
"customer_group": frm.doc.customer_group,
"supplier_group": frm.doc.supplier_group,
"tax_category": frm.doc.tax_category,
"billing_address": ((frm.doc.customer || frm.doc.lead) ? (frm.doc.customer_address) : (frm.doc.supplier_address)),
"shipping_address": frm.doc.shipping_address_name