fix: Translation issues

This commit is contained in:
Deepesh Garg 2020-12-17 12:35:22 +05:30
parent f48296ddf0
commit 51892efd60

View File

@ -198,8 +198,7 @@ class LandedCostVoucher(Document):
if docs: if docs:
for d in docs: for d in docs:
if d.docstatus == 1: if d.docstatus == 1:
frappe.throw(_('{2} <b>{0}</b> has submitted Assets.\ frappe.throw(_('{2} <b>{0}</b> has submitted Assets. Remove Item <b>{1}</b> from table to continue.').format(
Remove Item <b>{1}</b> from table to continue.').format(
item.receipt_document, item.item_code, item.receipt_document_type)) item.receipt_document, item.item_code, item.receipt_document_type))
def update_rate_in_serial_no_for_non_asset_items(self, receipt_document): def update_rate_in_serial_no_for_non_asset_items(self, receipt_document):