fix: removing return_taxes condition
This commit is contained in:
parent
cd05b34691
commit
1d5d863e9a
@ -31,8 +31,7 @@ erpnext.setup_auto_gst_taxation = (doctype) => {
|
||||
args: {
|
||||
party_details: JSON.stringify(party_details),
|
||||
doctype: frm.doc.doctype,
|
||||
company: frm.doc.company,
|
||||
return_taxes: 1
|
||||
company: frm.doc.company
|
||||
},
|
||||
callback: function(r) {
|
||||
if(r.message) {
|
||||
|
@ -150,7 +150,7 @@ def get_place_of_supply(party_details, doctype):
|
||||
return cstr(address.gst_state_number) + "-" + cstr(address.gst_state)
|
||||
|
||||
@frappe.whitelist()
|
||||
def get_regional_address_details(party_details, doctype, company, return_taxes=None):
|
||||
def get_regional_address_details(party_details, doctype, company):
|
||||
if isinstance(party_details, string_types):
|
||||
party_details = json.loads(party_details)
|
||||
party_details = frappe._dict(party_details)
|
||||
|
Loading…
x
Reference in New Issue
Block a user