Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

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

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
1 Responder
6816 Visualizações
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
Cancelar
Avatar
Avinash Nk
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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