fix: sku
This commit is contained in:
parent
5c036d9aaf
commit
bf09fbe6b9
@ -140,6 +140,7 @@ def create_sales_invoice(shopify_order, shopify_settings, so):
|
||||
si.naming_series = shopify_settings.sales_invoice_series or "SI-Shopify-"
|
||||
si.flags.ignore_mandatory = True
|
||||
set_cost_center(si.items, shopify_settings.cost_center)
|
||||
si.insert(ignore_mandatory=True)
|
||||
si.submit()
|
||||
make_payament_entry_against_sales_invoice(si, shopify_settings)
|
||||
frappe.db.commit()
|
||||
|
@ -40,6 +40,7 @@ class ShopifySettings(unittest.TestCase):
|
||||
"price_list": "_Test Price List",
|
||||
"warehouse": "_Test Warehouse - _TC",
|
||||
"cash_bank_account": "Cash - _TC",
|
||||
"account": "Cash - _TC",
|
||||
"customer_group": "_Test Customer Group",
|
||||
"cost_center": "Main - _TC",
|
||||
"taxes": [
|
||||
|
Loading…
Reference in New Issue
Block a user