Daily updates from Odoo
Monday, October 29, 2018
1 change
Resolved issues and error corrections
This fixes a setup issue that could cause the weekly digest email process to crash in a new database when accounting was installed. The digest feature now has the dependency it needs, so scheduled digest emails can run reliably.
Original PR description
Steps:
- Create DB without demo data
- Install account
- Enable debug
- Go to Technical, Email, Digest emails
- Open Weekly Digest, set Next Send Date to today
- Go to Scheduled Actions, open Digest Emails
- Click Run Manually
Get
```
digest/models/digest.py", line 161, in _compute_timeframes
tz_name = company.resource_calendar_id.tz
AttributeError: 'res.company' object has no attribute 'resource_calendar_id'
```
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr