Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Nekilnojamasis turtas
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Konsultavimas
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Maistas
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Saulės energijos sistemos
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Kiti
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

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

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

Validation error The transaction cannot be completed: (v17)

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
accountingv17
1 Atsakyti
3662 Rodiniai
Portretas
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
Portretas
Atmesti
Portretas
Gracious Joseph
Best Answer

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
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

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

Registracija
Related Posts Replies Rodiniai Veikla
Odoo 17 - Sales Invoice Error: “The entry / (id 75075) is using accounts from a different company”
accounting v17
Portretas
Portretas
2
lapkr. 25
417
Bank Balance and Last Statement Discrepancy on Odoo Accounting Dashboard after Upgrade to v17
accounting v17
Portretas
Portretas
1
vas. 25
3199
Cost of goods sold Solved
accounting v17
Portretas
Portretas
Portretas
2
bal. 24
4786
How to attach a customized pdf file for mailing in Accounting in Odoo 17 Solved
accounting v17
Portretas
Portretas
Portretas
2
bal. 24
6913
Inside the Branch Company Anglo saxon is not working
accounting v17
Portretas
0
kov. 24
2294
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة 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 yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

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