Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I've created a new class like this:
_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 ...
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/25/16, 12:31 PM|
|Seen: 686 times|
|Last updated: 1/25/16, 12:31 PM|