Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

raise ValidationError(_('Invalid view %s definition in %s') % (view.name, view.arch_fs)) what wrong ?

Odoberať

Get notified when there's activity on this post

This question has been flagged
1 Odpoveď
6815 Zobrazenia
Avatar
Thomas Edward

raise ValidationError(_('Invalid view %s definition in %s') % (view.name, view.arch_fs))
odoo.tools.convert.ParseError: "Invalid view view.student.form definition in student/views/student_view.xml
None" while parsing /home/thomas/odoo12/custom_addons/student/views/student_view.xml:5, near
<record id="view_student_form" model="ir.ui.view">
<field name="name">view.student.form</field>
<field name="model">student.student</field>
<field name="arch" type="xml">
<form string="Student Information">
<sheet>
<header>
<button name="draft_med" states="draft" string="Medical Interview" class="oe_highlight"/>
<button name="med_acad" states="med_interview" string="Academic Interview" class="oe_highlight"/>
<button name="med_dismiss" states="med_interview" string="Dismiss" class="oe_highlight"/>
<button name="acad_first" states="acad_interview" string="First Year Register" class="oe_highlight"/>
<button name="acad_dismiss" states="acad_interview" string="Dismiss" class="oe_highlight"/>
<button name="first_second" states="first_register" string="Second Year Register" class="oe_highlight"/>
<button name="first_first" states="first_register" string="First Year Register" class="oe_highlight"/>
<button name="first_dismiss" states="first_register" string="Dismiss" class="oe_highlight"/>
<button name="second_third" states="second_register" string="Third Year Register" class="oe_highlight"/>
<button name="second_second" states="second_register" string="Second Year Register" class="oe_highlight"/>
<button name="second_dismiss" states="second_register" string="Dismiss" class="oe_highlight"/>
<button name="third_fourth" states="third_register" string="Fourth Year Register" class="oe_highlight"/>
<button name="third_third" states="third_register" string="Third Year Register" class="oe_highlight"/>
<button name="third_dismiss" states="third_register" string="Dismiss" class="oe_highlight"/>
<button name="fourth_fourth" states="fourth_register" string="Fourth Year Register" class="oe_highlight"/>
<button name="fourth_alumni" states="fourth_register" string="Alumni" class="oe_highlight"/>
<button name="fourth_dismiss" states="fourth_register" string="Dismiss" class="oe_highlight"/>

<button name="set_student_sequence" type="object" string="Generate Seat No." class="oe_highlight oe_inline"/>
<button name="test_x2Many" type="object" string="Test x2Many" class="oe_highlight oe_inline"/>

<button name="%(student.action_wiz_calc_age)d" type="action" string="Calculate Age" icon="gtk-execute" groups="student.manager_access_group"/>

<field name="state" widget="statusbar" statusbar_visible="draft,med_interview,acad_interview,first_register,second_register,third_register,fourth_register,dismiss,alumni"/>
</header>
<group colspan="4" col="2">
<div>
<field name="image" widget="image"/>
</div>
<br/>
<h1>
<label string="Name"/>
<field name="name" placeholder="Enter Name"/>
</h1>
<h2>
<label string="Ministry University No."/>
<field name="uni_no" placeholder="Enter Ministry University No."/>
<label string="Seat No." groups="student.manager_access_group"/>
<field name="seat_no" groups="student.manager_access_group"/>
</h2>
</group>
<group colspan="4" col="4">
<field name="dob"/>
<field name="age"/>
<field name="gender" widget="radio"/>
<field name="responsible_id"/>
<field name="email" widget="email"/>
<field name="phone"/>
<field name="fdate"/>
<field name="ldate"/>
<field name="degree_id" widget="selection"/>
<!-- <field name="degree_id" domain="[('name', 'ilike', 'Eng')]"/> -->
<field name="regfees"/>
<field name="tutfees"/>
<field name="totfees"/>
<field name="ref"/>
<field name="ref_link" widget="url"/>
</group>
<notebook>
<page string="School Result Details">
<field name="result_ids">
<tree editable="top">
<field name="subject_id"/>
<field name="result" avg="Average"/>
</tree>
<form>
<group>
<field name="subject_id"/>
<field name="result"/>
</group>
</form>
</field>
</page>
<page string="Other Information">
<separator string="Hobbies Detail" colspan="4"/>
<field name="hobbies_ids" nolabel="1" widget="many2many_tags"/>
</page>
</notebook>
<separator string="Health Issues and Notes" colspan="4"/>
<field name="health_issues"/>
<field name="health_notes" nolabel="1" attrs="{'invisible':[('health_issues','=','no')]}"/>
<separator string="Template" colspan="4"/>
<field name="template" nolabel="1"/>
</sheet>

</form>
</field>
</record> - - -

0
Avatar
Zrušiť
Avatar
Avinash Nk
Best Answer

Hi Thomas Edward,

I found a mistake in the label

Put the label like this

<h1>
    <label for="name" string="Name"/>
<field name="name" placeholder="Enter Name"/>
</h1>

I can't find for="field_name" in any of the label. Please change everywhere and check it will solve your issue.


Thanks

1
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now