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 saw these slides http://www.slideshare.net/openobject/odoo-from-v7-to-v8-the-new-api
And it uses this: `from odoo import Model, fields`
But if I write like that, I get this error:
File "/home/user/openerp80/addons/hr_dc_extend/models/hr_contract.py", line 1, in <module>
from odoo import Model, fields
ImportError: cannot import name Model
Also I didn't see any standard Odoo module us this new Model class even though they showed how to use it in slides. Is it not implemented yet or I need to do something more?
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: 7/28/14, 9:50 AM|
|Seen: 4990 times|
|Last updated: 3/16/15, 8:10 AM|