fix: column name in party query
This commit is contained in:
parent
052171f51c
commit
88e257ff6d
@ -831,9 +831,9 @@ def get_party_shipping_address(doctype, name):
|
||||
"where "
|
||||
"dl.link_doctype=%s "
|
||||
"and dl.link_name=%s "
|
||||
'and dl.parenttype="Address" '
|
||||
"and dl.parenttype='Address' "
|
||||
"and ifnull(ta.disabled, 0) = 0 and"
|
||||
'(ta.address_type="Shipping" or ta.is_shipping_address=1) '
|
||||
"(ta.address_type='Shipping' or ta.is_shipping_address=1) "
|
||||
"order by ta.is_shipping_address desc, ta.address_type desc limit 1",
|
||||
(doctype, name),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user