Skip to content

Commit

Permalink
fix: default source type to empty string [CU-1gmda3w] (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alchez authored Sep 15, 2021
1 parent baa476b commit f95968c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopify_integration/payouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def create_shopify_payout(shopify_settings: "ShopifySettings", payout: "Payouts"
"sales_invoice": sales_invoice.name if sales_invoice else None,
"delivery_note": delivery_note.name if delivery_note else None,
"source_id": transaction.source_id,
"source_type": frappe.unscrub(transaction.source_type),
"source_type": frappe.unscrub(transaction.source_type or ""),
"source_order_financial_status": order_financial_status,
"source_order_id": shopify_order_id,
"source_order_transaction_id": transaction.source_order_transaction_id,
Expand Down

0 comments on commit f95968c

Please sign in to comment.