Skip to content

[16.0] Erro na importação de NF-e: ValueError: Invalid field uom.uom.code in leaf ('code', '=', 'PC') #3854

@WagnerBaraldi

Description

@WagnerBaraldi

Module

l10n_br_nfe

Describe the bug

Ao tentar importar qualquer XML de NFe

32221007647774000158550010000644541606878944.zip

recebo o erro: ValueError: Invalid field uom.uom.code in leaf ('code', '=', 'PC').

To Reproduce

Affected versions: 16.0 CE

Steps to reproduce the behavior:

  1. Fiscal -> Documentos -> Importar NF-e
  2. Clicar em FAÇA O UPLOADO DO SEU ARQUIVO
  3. Selecionar o aruivo XML da NF-e (testei com vários)
  4. Enviar o arquivo selecionado

Expected behavior
Esperava que a NF-e fosse pocessada e importada pelo Odoo

Additional context

  • Ubuntu 24.04, Python 3.8, Odoo 16 CE
  • Testei usando o Runboat e o problema se repetiu.
  • Em anexo um XML de Nfe que tentei importar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions