Skip to content

Commit

Permalink
Merge pull request #12 from Axentorllc/fix-create-billing-address
Browse files Browse the repository at this point in the history
fix: create_address for billing
  • Loading branch information
marination authored Jun 6, 2024
2 parents cbf9000 + 2d9c645 commit d9d1589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions woocommerce_integration/order_creation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def create_address(raw_data: dict, customer: dict, address_type: str):
return

address = frappe.new_doc("Address")
address.address_title = customer.get("customer_name")
address.address_line1 = raw_data.get("address_1", "Not Provided")
address.address_line2 = raw_data.get("address_2")
address.city = raw_data.get("city", "Not Provided")
Expand Down

0 comments on commit d9d1589

Please sign in to comment.