mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
refactor: added missing translation functions (#18143)
* fix: Translating Error and Messages * Update erpnext/controllers/item_variant.py Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com> * Update erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
This commit is contained in:
committed by
Shivam Mishra
parent
8929c62113
commit
841d852f41
@@ -124,7 +124,7 @@ def create_sales_order(shopify_order, shopify_settings, company=None):
|
||||
|
||||
else:
|
||||
so = frappe.get_doc("Sales Order", so)
|
||||
|
||||
|
||||
frappe.db.commit()
|
||||
return so
|
||||
|
||||
@@ -252,6 +252,6 @@ def get_tax_account_head(tax):
|
||||
{"parent": "Shopify Settings", "shopify_tax": tax_title}, "tax_account")
|
||||
|
||||
if not tax_account:
|
||||
frappe.throw("Tax Account not specified for Shopify Tax {0}".format(tax.get("title")))
|
||||
frappe.throw(_("Tax Account not specified for Shopify Tax {0}".format(tax.get("title"))))
|
||||
|
||||
return tax_account
|
||||
|
||||
Reference in New Issue
Block a user