diff options
| author | Adrian Torres <adt@odoo.com> | 2018-10-29 10:23:51 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-10-29 13:32:21 +0000 |
| commit | 8cecb88c27ab1888d50b4bd2dc6d5875c7e99d6f (patch) | |
| tree | 6c71c3e9aa554d976f96e44aa26dbf896dede3cf /addons/web/static/src | |
| parent | 9ee9546d5967b1e7b534d9059cd4a79f471f250a (diff) | |
[FIX] digest: check field existance
This commit fixes the following bug:
* On a new DB, install account
* Settings > Technical > Email > Digest emails
* Open Weekly Digest, set Next Send Date to current day
* Settings > Technical > Scheduled Actions > Digest Emails
* Run manually
AttributeError: 'res.company' object has no attribute
'resource_calendar_id'
The field resource_calendar_id is added in the module resource.
The module digest does not have resource in its dependency.
In stable version, have a silent fallback on UTC if the field is not present.
The right dependency should be added in master.
closes odoo/odoo#28244
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
