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.
The Question has been closedby
File "/home/bellvantage/Documents/openerp-7.0/openerp-7.0/openerp/osv/orm.py", line 2177, in apply_inheritance_specs raise_view_error("Element '%s' not found in parent view '%%(parent_xml_id)s'" % tag, inherit_id) File "/home/bellvantage/Documents/openerp-7.0/openerp-7.0/openerp/osv/orm.py", line 2070, in raise_view_error % (child_view.xml_id, self._name, error_msg)) AttributeError: View definition error for inherited view 'purchase_landed_costs.c2c_product_landed_cost_view' on model 'product.product': Element '<field name="active">' not found in parent view 'product.product_normal_form_view'
when i go to create products in products form this error appeared. what is the issue with thia
here is my fresh DB & no any issues with other modules
Answered by user1576199 @ Stackoverflow & all credits need to go for him
sorry friend this module is camp2camp, currently they put version 7 code no where, but if you want to run this module got to
file of this module
line no 44
"c2c_product_landed_cost_view" and change
<field name="inherit_id" ref="stock.product_normal_form_view"/>
<field name="inherit_id" ref="stock.view_normal_procurement_locations_form"/>
then it module install and work dear enjoy!!! :)
Dear priyankahd, In the purchase_view.xml file I did find the line 44 "c2c_product_landed_cost_view".
However the line you suggest to change (<field name="inherit_id" ref="stock.product_normal_form_view"/>) is not there. Actually the word "stock" is not anywhere on the file.
Besides I found a line very similar to the one you said, where the word "product" is instead of the word "stock":
field name="inherit_id" ref="product.product_normal_form_view"/
Thanks in advance for your help.
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: 4/5/13, 5:56 AM|
|Seen: 2585 times|
|Last updated: 3/16/15, 8:10 AM|