diff --git a/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py b/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py index a9dfe8a5576..482efadaed0 100644 --- a/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py +++ b/erpnext/hub_node/doctype/marketplace_settings/marketplace_settings.py @@ -65,7 +65,7 @@ class MarketplaceSettings(Document): 'password': hub_user.get('password') }) - self.insert() + self.save() def get_hub_user(self, user): '''Return the Hub User doc from the `users` table if password is set'''