I have this class...
class Invest(models.Model):
_name = 'module.nl
_description = 'module.nl'
date = fields.Datetime(string='Fecha', required=True)
initial = fields.Float(string='Inicial', required=True)
withdraw = fields.Float(string='Retiros', required=True)
ok = fields.Float(string='Ok', required=True)
reinvestment = fields.Float(string='Reinversión', required=True)
balance = fields.Float(string='Balance', required=True)
user_id = fields.Many2one('res.users', string='User', required=True, ondelete='restrict')
This record is created by admin user. Admin user needs see all this records, but the user can see ony his records(user_id) created by admin...
Is possible, by domain rules way, filter this records for all users?.