[hub] set first user's password in marketplace users
This commit is contained in:
@@ -19,8 +19,7 @@ const ProfileDialog = (title = __('Edit Profile'), action={}) => {
|
||||
.then(company => {
|
||||
dialog.set_values({
|
||||
country: company.country,
|
||||
currency: company.default_currency,
|
||||
company_email: company.email
|
||||
currency: company.default_currency
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -28,8 +27,8 @@ const ProfileDialog = (title = __('Edit Profile'), action={}) => {
|
||||
},
|
||||
{
|
||||
fieldname: 'company_email',
|
||||
label: __('Company Email'),
|
||||
fieldtype: 'Data'
|
||||
label: __('Email'),
|
||||
fieldtype: 'Read Only'
|
||||
},
|
||||
{
|
||||
fieldname: 'users',
|
||||
@@ -81,8 +80,6 @@ const ProfileDialog = (title = __('Edit Profile'), action={}) => {
|
||||
dialog.fields_dict.users.set_data(users);
|
||||
});
|
||||
|
||||
dialog.set_values(initial_values);
|
||||
|
||||
// Post create
|
||||
const default_company = frappe.defaults.get_default('company');
|
||||
dialog.set_value('company', default_company);
|
||||
|
||||
Reference in New Issue
Block a user