mirror of https://github.com/OCA/social.git
Before this commit, 'Show Internal Users CC' would always be False, regardless of the setting in the company, in case the message came from a record with a company_id field but without a value assignment to it (e.g., a partner record with no company), as company would be an empty record. This commit fixes the behavior by capturing company from self.env in these cases. |
||
---|---|---|
.. | ||
__init__.py | ||
mail_mail.py | ||
res_company.py | ||
res_config_settings.py | ||
res_partner.py | ||
res_users.py |