mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
fix: removing return_taxes condition
This commit is contained in:
@@ -31,8 +31,7 @@ erpnext.setup_auto_gst_taxation = (doctype) => {
|
|||||||
args: {
|
args: {
|
||||||
party_details: JSON.stringify(party_details),
|
party_details: JSON.stringify(party_details),
|
||||||
doctype: frm.doc.doctype,
|
doctype: frm.doc.doctype,
|
||||||
company: frm.doc.company,
|
company: frm.doc.company
|
||||||
return_taxes: 1
|
|
||||||
},
|
},
|
||||||
callback: function(r) {
|
callback: function(r) {
|
||||||
if(r.message) {
|
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)
|
return cstr(address.gst_state_number) + "-" + cstr(address.gst_state)
|
||||||
|
|
||||||
@frappe.whitelist()
|
@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):
|
if isinstance(party_details, string_types):
|
||||||
party_details = json.loads(party_details)
|
party_details = json.loads(party_details)
|
||||||
party_details = frappe._dict(party_details)
|
party_details = frappe._dict(party_details)
|
||||||
|
|||||||
Reference in New Issue
Block a user