2013-04-05 72 views
0
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' 

當我去創建產品中的產品形式出現此錯誤。 什麼是硫purchase_landed_costs模塊錯誤openerp 7

這裏的問題是我的新鮮DB &沒有任何問題與其他模塊

回答

1

我瘦的bug purchase_landed_cost模塊中,你嘗試安裝6.1版模塊7版本。現在活動字段現在不再在product_normal_form_view中退出。

+0

嗨再次:-) r他們發出一個支持版本7的模塊 – 2013-04-05 09:13:54

+1

對不起朋友這個模塊是camp2camp,目前他們把版本7的代碼放在哪裏,但是如果你想運行這個模塊的話需要purchase_view.xml文件該模塊行號爲44「c2c_product_landed_cost_view」,並從** <字段名稱=「inherit_id」ref =「stock.product_normal_form_view」/> **更改爲** <字段名稱=「inherit_id」ref =「stock.view_normal_procurement_locations_form」/ >然後它模塊安裝和工作親愛的享受! :) – user1576199 2013-04-05 09:20:08

+0

感謝這麼多朋友..現在正在工作 – 2013-04-05 10:11:23