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

Validation error The transaction cannot be completed: (v17)

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
accountingv17
1 Responder
3680 Visualizações
Avatar
François-Hervé de CAMBOURG

The transaction cannot be completed: The amount expressed in the secondary currency must be positive when the account is debited and negative when the account is credited. If the currency is the same as the company’s, this amount must be strictly equal to the balance. In Odoo 17.

I want to enter a writing sale of our store due to malfunction, but there is this message when I want to validate the writing.

No line is negative

0
Avatar
Cancelar
Avatar
Gracious Joseph
Melhor resposta

The error "The amount expressed in the secondary currency must be positive when the account is debited and negative when the account is credited" in Odoo 17 accounting typically occurs due to incorrect values in multi-currency journal entries. It happens when there is a mismatch between the secondary currency amounts and the balance in the company's currency.

Here's how to resolve the issue:

1. Understand the Error

In Odoo, when working with multi-currency transactions:

  • Secondary Currency Rules:
    • For a debit line: The amount in the secondary currency must be positive.
    • For a credit line: The amount in the secondary currency must be negative.
  • If the transaction uses the company's currency only, the secondary currency amount must exactly match the primary amount.

2. Root Cause Analysis

The issue may occur due to:

  1. Incorrect Manual Entry:
    • A mismatch between the debit/credit amount and the corresponding secondary currency amount.
  2. Currency Mismatch:
    • The journal entry references a foreign currency, but the amounts are not properly calculated.
  3. System Bug:
    • If using customizations or a specific accounting configuration, the error may stem from an unhandled edge case.

3. Steps to Fix the Issue

A. Check the Journal Entry Lines

  1. Navigate to the Journal Entry:
    • Go to Accounting > Journal Entries > Journal Items and open the journal entry in question.
  2. Inspect the Debit/Credit Lines:
    • Ensure that:
      • Debit amounts are positive.
      • Credit amounts are negative.
    • The total debit matches the total credit in the company currency.
  3. Check Secondary Currency Amounts:
    • If the transaction involves a foreign currency:
      • Ensure the amount_currency field reflects the correct foreign currency value.
      • For debit: amount_currency must be positive.
      • For credit: amount_currency must be negative.
  4. Adjust Manually if Necessary:
    • Edit the amounts to align with the rules and save the entry.

B. Check the Account Configuration

  1. Navigate to the Account:
    • Go to Accounting > Configuration > Chart of Accounts.
    • Open the account referenced in the journal entry.
  2. Verify Currency Settings:
    • Ensure the account's currency settings are correct:
      • If the account is configured with a foreign currency, make sure the transaction aligns with that currency.
      • If the account uses the company's currency, secondary currency amounts must match the primary amounts.

C. Check the Journal Configuration

  1. Navigate to the Journal:
    • Go to Accounting > Configuration > Journals and open the journal used in the entry.
  2. Verify the Journal's Default Currency:
    • Ensure the journal's default currency matches the transaction's currency setup.

D. Automate Secondary Currency Calculation

If secondary currency amounts are not automatically calculated, enable automatic currency computation:

  1. Enable Foreign Exchange Rates:
    • Go to Accounting > Configuration > Settings.
    • Ensure that Multi-Currencies is enabled and the exchange rates are correctly configured.
  2. Recalculate the Journal Entry:
    • Open the journal entry, clear the amount_currency fields, and let Odoo recompute them based on the exchange rate.

E. Validate Again

  1. After making the necessary adjustments:
    • Save the journal entry.
    • Try validating it again.

4. Common Scenarios and Fixes

Scenario Fix
Secondary currency amount is missing or zero. Enter the correct amount in the amount_currency field based on the exchange rate.
Secondary currency amount does not match rules. Adjust the amounts so that debit is positive and credit is negative in the amount_currency.
Account uses company currency but has foreign currency values. Set the amount_currency field to zero or remove it.
Exchange rate discrepancy. Update the exchange rates under Accounting > Configuration > Currencies > Exchange Rates.

5. Example

Case 1: Single Currency Transaction

  • Debit: 1000 (in company currency)
  • Credit: -1000 (in company currency)

No secondary currency (amount_currency) is required.

Case 2: Multi-Currency Transaction

  • Debit: 1000 USD
    • amount_currency: +1000 (for debit).
  • Credit: -950 EUR (with an exchange rate of 1 USD = 0.95 EUR)
    • amount_currency: -950 (for credit).

6. If the Problem Persists

  1. Recreate the Journal Entry:
    • Delete the problematic journal entry and recreate it to ensure all amounts and currencies are calculated properly.
  2. Check for Bugs or Customizations:
    • If the issue is caused by a custom module or system bug, disable the customizations or report the issue to your Odoo support provider.

By following these steps, you should be able to resolve the validation error for the journal entry. Let me know if you need further clarification or assistance!

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
Odoo 17 - Sales Invoice Error: “The entry / (id 75075) is using accounts from a different company”
accounting v17
Avatar
Avatar
2
nov. 25
432
Bank Balance and Last Statement Discrepancy on Odoo Accounting Dashboard after Upgrade to v17
accounting v17
Avatar
Avatar
1
fev. 25
3218
Cost of goods sold Resolvido
accounting v17
Avatar
Avatar
Avatar
2
abr. 24
4795
How to attach a customized pdf file for mailing in Accounting in Odoo 17 Resolvido
accounting v17
Avatar
Avatar
Avatar
2
abr. 24
6932
Inside the Branch Company Anglo saxon is not working
accounting v17
Avatar
0
mar. 24
2299
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