7.0 chricar_stock_care install error: Invalid XML for View Architecture!
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Camptocamp R&D Addons | Status tracked in Trunk | |||||
6.1 |
Fix Released
|
Undecided
|
Unassigned | |||
7.0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
module: chricar_stock_care
Branch: 7.0
hello
I m trying to install chricar_
when i try to install it, the following error message is display:
"ValidateError: Error al validar el campo (s) dearch:Invalid XML for View Architecture!"
any idea about how to fix it?
thanks in advance
Alejandro
Log File output:
2013-06-25 19:58:53,145 4906 INFO Prueba4 openerp.
2013-06-25 19:58:53,163 4906 WARNING Prueba4 openerp.
2013-06-25 19:58:53,388 4906 ERROR Prueba4 openerp.osv.orm: Can't find field 'price_unit_coeff' in the following view parts composing the view of object model 'stock.picking':
* stock.picking.
Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model
2013-06-25 19:58:53,394 4906 ERROR Prueba4 openerp.
Traceback (most recent call last):
File "/usr/lib/
fvg = self.pool.
File "/usr/lib/
return super(stock_
File "/usr/lib/
xarch, xfields = self.__
File "/usr/lib/
fields_def = self.__
File "/usr/lib/
fields.
File "/usr/lib/
xarch, xfields = relation.
File "/usr/lib/
raise except_orm('View error', msg)
except_orm: ('View error', u"Can't find field 'price_unit_coeff' in the following view parts composing the view of object model 'stock.picking':\n * stock.picking.
2013-06-25 19:58:53,421 4906 ERROR Prueba4 openerp.
<record id="chricar_
<field name="name"
<field name="model"
<field eval="17" name="priority"/>
<field name="arch" type="xml">
<form string="Stock Care">
<group colspan="4" col="6" attrs="
<field domain="('type', 'in', ['internal'
<field name="name" readonly="1"/>
<field name="partner_id" colspan="6"/>
<!--
<field name="address_id" colspan="6"/>
-->
<field name="date"/>
<field name="min_date"/>
</group>
<field attrs="
<form string="Stock Care">
<group>
<field name="activity" required="1"/>
<field name="date"/>
<newline/>
<field name="product_id" on_change=
<newline/>
<field name="product_qty" on_change=
<field name="product_
<field name="location_id" domain="[('usage', '=', 'internal')]"/>
<field name="prodlot_id" domain=
<field name="location_
<field name="location_
<newline/>
<field name="humidity"/>
<field name="humidity_
<field name="factor" on_change=
<field name="product_
<newline/>
<field name="state" readonly="1"/>
<newline/>
<field name="date"/>
<field name="name"/>
<field name="price_unit" groups=
<field name="price_
<field name="price_
<field name="move_
</group>
</form>
<tree string="Stock Care" editable="top">
<field name="activity" required="1"/>
<field name="date"/>
<field name="product_id" on_change=
<field name="product_qty" on_change=
<field name="product_
<field name="location_id" domain="[('usage', '=', 'internal')]"/>
<field name="prodlot_id" domain=
<field name="location_
<field name="location_
<field name="humidity"/>
<field name="humidity_
<field name="factor" on_change=
<field name="product_
<field name="state" readonly="1"/>
<field name="date"/>
<field name="name"/>
</tree>
</field>
<group col="10" colspan="4">
<field name="state" readonly="1"/>
<button name="draft_
<button name="button_
</group>
</form>
</field>
</record>
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
id = self.pool.
File "/usr/lib/
res_id = model_obj.
File "/usr/lib/
return super(view, self).create(cr, uid, values, context)
File "/usr/lib/
self.
File "/usr/lib/
raise except_
except_orm: ('ValidateError', u'Error al validar el campo (s) dearch:Invalid XML for View Architecture!')
2013-06-25 19:58:53,427 4906 ERROR Prueba4 openerp.netsvc: ValidateError
Error al validar el campo (s) dearch:Invalid XML for View Architecture!
Traceback (most recent call last):
File "/usr/lib/
result = ExportService.
File "/usr/lib/
res = fn(db, uid, *params)
File "/usr/lib/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/usr/lib/
raise except_
except_osv: ('ValidateError', u'Error al validar el campo (s) dearch:Invalid XML for View Architecture!')
Related branches
- Ferdinand: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedchricar_stock_care/__openerp__.py (+1/-1)
summary: |
- 7.0 chricar_stock_care install error: Invalid XML foew Architecture! + 7.0 chricar_stock_care install error: Invalid XML for View Architecture! |
Hello,
Thanks for reporting the issue.
It seams it doesn't find the field `price_unit_coeff`
My guess is a dependency is missing on module c2c_product_ price_unit price_unit and it should resolve this error.
Try to install the module c2c_product_