KolushovAlexandr
6 years ago
No known key found for this signature in database
GPG Key ID: C3E04B793421FD2
1 changed files with
1 additions and
1 deletions
-
mail_multi_website/models/mail_template.py
|
@ -98,7 +98,7 @@ class MailTemplate(models.Model): |
|
|
|
|
|
|
|
|
if record_company and record_website \ |
|
|
if record_company and record_website \ |
|
|
and record_website.company_id != company: |
|
|
and record_website.company_id != company: |
|
|
# company and website are incompatible, so keep only website |
|
|
|
|
|
|
|
|
# company and website are incompatible, so keep only company |
|
|
record_website = self.env['website'] # empty value |
|
|
record_website = self.env['website'] # empty value |
|
|
|
|
|
|
|
|
record_context = dict(force_company=record_company.id, website_id=record_website.id) |
|
|
record_context = dict(force_company=record_company.id, website_id=record_website.id) |
|
|