|
@ -352,7 +352,7 @@ class subscription_request(models.Model): |
|
|
|
|
|
|
|
|
def create_user(self, partner): |
|
|
def create_user(self, partner): |
|
|
user_obj = self.env['res.users'] |
|
|
user_obj = self.env['res.users'] |
|
|
|
|
|
|
|
|
|
|
|
# TODO replace self by partner |
|
|
email = self.email |
|
|
email = self.email |
|
|
if self.is_company: |
|
|
if self.is_company: |
|
|
email = self.company_email |
|
|
email = self.company_email |
|
|