mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 14:11:45 +01:00
fix: GST Category validation broken for pos unregistered customer who dont have address. (#33800)
fix: GST Category validation broken for pos unregistered customer who dont have address. (#33800)
* fix: GST Category validation is given for pos customer
(cherry picked from commit c5ca8d74c4)
Co-authored-by: Vishal Dhayagude <vishdha@users.noreply.github.com>
This commit is contained in:
@@ -211,7 +211,13 @@ def set_address_details(
|
|||||||
else:
|
else:
|
||||||
party_details.update(get_company_address(company))
|
party_details.update(get_company_address(company))
|
||||||
|
|
||||||
if doctype and doctype in ["Delivery Note", "Sales Invoice", "Sales Order", "Quotation"]:
|
if doctype and doctype in [
|
||||||
|
"Delivery Note",
|
||||||
|
"Sales Invoice",
|
||||||
|
"Sales Order",
|
||||||
|
"Quotation",
|
||||||
|
"POS Invoice",
|
||||||
|
]:
|
||||||
if party_details.company_address:
|
if party_details.company_address:
|
||||||
party_details.update(
|
party_details.update(
|
||||||
get_fetch_values(doctype, "company_address", party_details.company_address)
|
get_fetch_values(doctype, "company_address", party_details.company_address)
|
||||||
|
|||||||
Reference in New Issue
Block a user