fix: create portal user for customer from shopping cart (#36745)

fix: create portal user  for customer from shopping cart
This commit is contained in:
avc 2023-08-26 14:57:42 +02:00 committed by GitHub
parent 9bc5952dd5
commit fa2e5d5ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}]})