Daily updates from Odoo
Friday, January 9, 2015
1 change · master
Resolved issues and error corrections
Users can now create or delete attachments based on their ability to edit the related business record, avoiding incorrect access errors when they only need to view records. This fixes attachment handling on documents such as sales orders and makes permissions behave more consistently.
Original PR description
…address an issue where users could not delete an attachment on sales orders. This previous fix checks for write access even when requesting read access, throwing false positive access errors. Unlinking attachments shoud be considered as a write to the resource and not an unlink. This fix corrects the behaviour of ir_attachment. Task: https://www.odoo.com/web#id=11467&view_type=form&model=project.task&action=327 Pad: https://pad.odoo.com/p/r.Jnkcr23GckC9oDTx