Daily updates from Odoo
Monday, September 2, 2019
3 changes · master
New functionality added to Odoo
Website editors can now set a custom background color for individual content snippets. This gives teams more flexibility to match brand styling and make page sections stand out without needing technical help.
Original PR description
https://www.odoo.com/web#id=1965847&action=333&active_id=974&model=project.task&view_type=form&menu_id=4720
Enhancements to existing features
CRM can now replace broad, generic activity options with more specific ones tailored to the customer record being handled. This helps users pick the right follow-up action more easily, such as CRM-specific email activities, while related mail setup data was reorganized for easier maintenance.
Resolved issues and error corrections
Invoices created through the Upload button now correctly identify the uploaded file as the invoice’s main attachment. This ensures OCR processing sends the right document for automated invoice reading, reducing failures or manual follow-up.
Original PR description
When creating invoices via the 'Upload' button, the
'message_main_attachment_id' field wasn't set on the record. This
happened because the message posted in the chatter was linked to the
wrong 'res_model' which prevented it from being selected as the main
attachment.
This was causing a bug in the OCR module ('account.invoice.extract')
where we use this field to determine which attachment must be sent to
the OCR server.