Daily updates from Odoo
Thursday, December 11, 2014
3 changes · master
Enhancements to existing features
File attachments now store key details such as file type, checksum, and searchable content in the core system instead of separate apps. This makes attachment handling more consistent across documents and website features without adding new external requirements.
Original PR description
Move fields from module document and website to base, on ir.attachament Fields : - checksum - index_content - file_type (the mmimetype, computed by python-magic, or a little function (if not installed). No new dependency !
Forum post links are now processed for search-engine handling when posts are created or edited, rather than each time they are displayed. This reduces repeated processing and improves forum page performance, with a minor tradeoff that older posts may keep previous link settings until updated.
Original PR description
...te on links in forum posts. This is now done when creating / updating posts instead of updating the display of the post. This means that old posts may contain nofollow attribute altough the user has sufficient karma; however it is acceptable compared to the computation we save by avoiding processing every post to display. - Task: https://www.odoo.com/web?&debug=#id=10862&view_type=form&model=project.task&action=333&active_id=248 - Pad: https://pad.odoo.com/p/r.GNUisVzSLMg1K653
This update replaces older accounting error handling with clearer, standard user-facing error types, helping users receive more consistent messages when something goes wrong. It also lowers the priority of expected warning logs so monitoring tools like Sentry focus on real issues instead of routine user errors.
Original PR description
Using UserError, AccessError, MissingError, ValidationError instead of except_orm and except_osv. Using _logger.info instead of _logger.warning to avoid polluating Sentry