Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
20131 มุมมอง

Here I have a question about odoo upgrade



File "E:\ailsaODOO\odoo\odoo\addons\base\ir\ir_ui_view.py", line 342, in _check_xml
  raise ValidationError(_('Invalid view definition'))
odoo.tools.convert.ParseError: "Invalid view definition
None" while parsing file:/e:/ailsaodoo/odoo/addons/ailsaodoo/views/ailsaodoo.xml:88, near
<record model="ir.ui.view" id="session_tree_view">
  <field name="name">session.tree</field>
  <field name="model">ailsaodoo.session</field>
  <field name="arch" type="xml">
  <tree strin="session tree">
  <field name="name"/>
  <field name="course_id"/>
  </tree>
  </field>
  </record>



every thing is ok before I want to upgrade my module, and I cannot figure it out the problem
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

If this shows your true code, then please check the typo in this line:

           <tree strin="session tree">

I'm pretty sure this should be "string=" instead of "strin=". If not, please show your real code.

อวตาร
ละทิ้ง

i don't think strin instead of string create a issue

Then we would need to see the code, isn't it?

คำตอบที่ดีที่สุด

how can i increase my karma 

อวตาร
ละทิ้ง