fix: create portal user for customer from shopping cart (#36745)
fix: create portal user for customer from shopping cart
This commit is contained in:
parent
9bc5952dd5
commit
fa2e5d5ab7
@ -517,6 +517,8 @@ def get_party(user=None):
|
||||
}
|
||||
)
|
||||
|
||||
customer.append("portal_users", {"user": user})
|
||||
|
||||
if debtors_account:
|
||||
customer.update({"accounts": [{"company": cart_settings.company, "account": debtors_account}]})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user