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

CRM: Error Viewing Customer's Data

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
crmodoo
2 Respostas
4201 Visualizações
Avatar
Ralph

After logging into Odoo, navigating to the Customer's list under Sales, I get the following error when I click on any of the listed customers. This is happening for only a few users. I'm unable to make sense of the error. Can someone tell me how to go about resolving this? Any help is appreciated. 


Odoo Server Error Traceback (most recent call last):

  File "/squashng/squashng-server/openerp/http.py", line 643, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/squashng/squashng-server/openerp/http.py", line 680, in dispatch

    result = self._call_function(**self.params)

  File "/squashng/squashng-server/openerp/http.py", line 316, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/squashng/squashng-server/openerp/service/model.py", line 118, in wrapper

    return f(dbname, *args, **kwargs)

  File "/squashng/squashng-server/openerp/http.py", line 309, in checked_call

    result = self.endpoint(*a, **kw)

  File "/squashng/squashng-server/openerp/http.py", line 959, in __call__

    return self.method(*args, **kw)

  File "/squashng/squashng-server/openerp/http.py", line 509, in response_wrap

    response = f(*args, **kw)

  File "/squashng/squashng-server/addons/web/controllers/main.py", line 896, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/squashng/squashng-server/addons/web/controllers/main.py", line 888, in _call_kw

    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/res/res_partner.py", line 295, in fields_view_get

    res = super(res_partner,self).fields_view_get(cr, user, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/api.py", line 354, in old_api

    result = method(recs, *args, **kwargs)

  File "/squashng/squashng-server/addons/mail/models/mail_thread.py", line 366, in fields_view_get

    res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

  File "/squashng/squashng-server/openerp/api.py", line 248, in wrapper

    return new_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/api.py", line 490, in new_api

    result = method(self._model, cr, uid, *args, **old_kwargs)

  File "/squashng/squashng-server/openerp/models.py", line 1536, in fields_view_get

    root_view = View.read_combined(cr, uid, view_id, fields=['id', 'name', 'field_parent', 'type', 'model', 'arch'], context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 661, in read_combined

    cr, uid, arch_tree, root_id, base.model, context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 609, in apply_view_inheritance

    source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 587, in apply_inheritance_specs

    self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 463, in raise_view_error

    raise AttributeError(message)

AttributeError: Element '<xpath expr="//field[@name='debit']">' cannot be located in parent view


Error context:

View `res.partner`

[view_id: 1383, xml_id: invoice_payment_receipt.view_partner_form_send_invoice_payment_inherit_id, model: res.pa

0
Avatar
Cancelar
Avatar
Ralph
Autor Melhor resposta

@Jainseh 

Thank you for responding. How do I go about ensuring that the inherit_id and reference is correct? The error references too many files so I'm not sure which file to apply the change. 

I understand that I should try using before, replace or attributes in between the double quotes for position, correct?

0
Avatar
Cancelar
Jainesh Shah(Aktiv Software)

When you turn the debug mode on from Settings, you can edit form view as well as tree view from the GUI, there you will find the view_id and the same id shall be used in inherit_id as reference.

Avatar
Jainesh Shah(Aktiv Software)
Melhor resposta

Hey Ralph,

You need to make sure that the inherit_id and and the reference given by you is correct.  Also, make sure that the record id is not duplicated anywhere and try giving proper xpath with exact location.

Please refer the following code:

<xpath expr="//page/page/group/group/field[@name='debit'] position="">

</xpath>

*You can give after, before, replace or attributes in position.

I hope this will help you!

Regards


0
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
Publicações relacionadas Respostas Visualizações Atividade
Seeking Advice on Listing Internet Providers and Integrating Lead Forms in Odoo
crm ecommerce odoo
Avatar
0
mar. 24
1922
CRM ODOO Resolvido
crm pricing odoo
Avatar
Avatar
Avatar
3
abr. 19
3791
How change default state for crm.phonecall
crm odoo odooV8
Avatar
0
abr. 15
5070
odoo mobile crm launch Resolvido
crm mobile odoo
Avatar
Avatar
Avatar
2
mar. 15
5875
(!!C-o-p-a!!)¿Cómo comunicarse con Copa Airlines en Panamá?
odoo
Avatar
0
nov. 25
211
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