def write(self, cr, uid, ids, vals, context=None):
        if 'list_price' in vals:
            group_obj = self.pool['res.groups']

            if not group_obj.user_in_group(cr, uid, uid, 'dt_price_security.can_modify_prices', context=context):
                title = _('Violation of permissions')
                message = _('You do not have the necessary permissions to modify the price of the products')
                raise orm.except_orm(title, message)
        return super(product_product, self).write(cr, uid, ids, vals, context=context)