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.
Hi, I have this sample code in my file procurement.py :
_inherit = 'procurement.order'
analytic_account_id = fields.Many2one('account.analytic.account', string='Compte Analytique')
But i can't load my module on my server because there is this error :
AttributeError: 'module' object has no attribute 'Many2one'
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: 3/23/16, 4:31 AM|
|Seen: 1731 times|
|Last updated: 3/23/16, 5:09 AM|