Skip to content

Commit

Permalink
fix: Pre-commit formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
marination committed Oct 2, 2021
1 parent 36b519c commit 9d359a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/e_commerce/doctype/website_item/website_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class WebsiteItem(WebsiteGenerator):

def autoname(self):
# use naming series to accomodate items with same name (different item code)
from erpnext.setup.doctype.naming_series.naming_series import get_default_naming_series
from frappe.model.naming import make_autoname
from erpnext.setup.doctype.naming_series.naming_series import get_default_naming_series

naming_series = get_default_naming_series("Website Item")
if not self.name and naming_series:
Expand Down

0 comments on commit 9d359a7

Please sign in to comment.