I have three fields: start year, end year and range. I need to add the list of ranges of the two second fields into the range field.
self.rang = [int(x) for x in range(int(self.start),int(self.end))]
start = fields.Char(string="", required=False, )
end = fields.Char(string="", required=False, )
rang = fields.One2many(compute=years )
I get this error message:
Sorry, you are not allowed to access this document. Please contact your system administrator if you think this is an error.
(Document model: _unknown) - (Operation: read, User: 2)