KeyError: 'asset_link' in auto_make_assets

Form/Purchase Invoice/ACC-PINV-2022-00111-1

### Trackeback

Traceback (most recent call last):
File "apps/frappe/frappe/desk/form/", line 23, in savedocs
File "apps/frappe/frappe/model/", line 1018, in submit
return self._submit()
File "apps/frappe/frappe/model/", line 1007, in _submit
File "apps/frappe/frappe/model/", line 310, in save
return self._save(*args, **kwargs)
File "apps/frappe/frappe/model/", line 364, in _save
File "apps/frappe/frappe/model/", line 1088, in run_post_save_methods
File "apps/frappe/frappe/model/", line 941, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/", line 1260, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/", line 1242, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/", line 938, in fn
return method_object(*args, **kwargs)
File "apps/erpnext/erpnext/accounts/doctype/purchase_invoice/", line 490, in on_submit
super(PurchaseInvoice, self).on_submit()
File "apps/erpnext/erpnext/controllers/", line 596, in on_submit
File "apps/erpnext/erpnext/controllers/", line 639, in process_fixed_asset
File "apps/erpnext/erpnext/controllers/", line 670, in auto_make_assets
_("Asset{} {assets_link} created for {}").format(
KeyError: 'asset_link'
1 Like

I have same problem, Did you find solution to fix it

1 Like

I have the same problem too! Was there any solution to this problem yet?

1 Like

i solve this by translate the broplem message … when i use the english language it pass … so i translat the message to solve it