Hi,
I've created a new class like this:
class vi_unavailability(models.Model):
_name = 'vi.unavailability'
_order = 'date_unavailable'
_rec_name = 'date_unavailable'
_description = u"Unavailability"
date_unavailable = fields.Date(string='Date Unavailable',required=True)
vi_product_id = fields.Many2one(comodel_name='product.template', string='Product')
But in log file I'm always getting this warning:
vi.unavailability.read() with unknown field 'name'
Is this normal?
I'm new in v9 ...
Thanks