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'm currently working to change some fields in the purchase.requisition. I want to instead of adding data to 'data_end' added to 'scheduled_data' date field. So in my module, i'm inheriting like this
and in model file'depends': ['purchase_requisition']
_name = 'purchase.requisition'
_inherit = 'purchase.requisition'
but it gives me this error:
File "/home/user/odoo/openerp/models.py", line 603, in _build_model 'You may need to add a dependency on the parent class\' module.' % (name, parent)) TypeError: The model "purchase_requisitiont" specifies an unexisting parent class "purchase_requisition" You may need to add a dependency on the parent class' module.So, if you will help me I'll be very happy
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/11/16, 5:56 AM|
|Seen: 464 times|
|Last updated: 3/24/16, 2:54 AM|