odoo/odoo — pull request #2818 by rgo-odoo (2014-10-01 07:32:17+00:00)
Title: [FIX] web,web_kanban: Reloading the record in form view(in non-edit mode...

...) having o2m field will show the options to delete and create the o2m records in its list,kanban,form view(it will not be saved though as there is no option in the interface to save the parent record). (Maintenance Case: 607910)

Issue can be reproduced if opened any record in form view which has o2m field defined either as list or kanban, and if refreshed that record user will find the "Delete" icon for records in o2m list/kanban even if the parent view is in non-edit mode.
You can check to see this in Customer's form view, reloading any record in form view will show "Create" and "Delete" options for it's contacts(kanban) or any other view which has o2m list.

This branch fixes this issue, kindly review it.

Thanks.