Skip to content

Commit

Permalink
prepare customer user fully in script
Browse files Browse the repository at this point in the history
  • Loading branch information
tarteo committed Jan 26, 2024
1 parent 2a47ee8 commit b4beb93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/prepare_customer_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def main(env, email, group_file, group):
return click.echo("Customer user doesn't exists", err=True)

if customer_user.login == "customer_user":
customer_user.write({"login": email})
customer_user.write({"lang": "nl_NL"})
customer_user.write({"login": email, "lang": "nl_NL"})
customer_user.partner_id.write({"email": email})

if customer_user.state == "new":
Expand Down

0 comments on commit b4beb93

Please sign in to comment.