Access control in odoo/openerp
Inherit the write method of the model and give it a raise when your condition (in this case the not owned products) is met. This way the user will receive a warning message and they cannot save the changed values.
How  to restrict the users to edit only the product attributes for non owned products in odoo/openerp? 
Can this be achieved through record rules or coding?