Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Error validating Invoices

Subscriure's

Get notified when there's activity on this post

This question has been flagged
invoicejournalvalidateaccountcurrency
2 Respostes
2923 Vistes
Avatar
Simplify-ERP® - Wapsol GmbH

On Version 9.0e-20160617 (Enterprise Edition)

We haven't been able to validate invoices, due to this blocking error:

Error while validating constraint.

The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account. None

The Account concerned is Product Sales, and it actually has only 1 currency (EUR). Where can the above stated "secondary currency" be manipulated?

Thanks for a tip or two.

Regards, NEBIZ

0
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

Check the currency definition of the corresponding journal itself or the currency definition of the contra-account defined in the journal.

An accounting entry (posting) assigns an amount to an account and simultaneously to a contra-account (offset account / "Gegenkonto" in german) .

Do not explicitely define currencies to accounts and journals, as long as you do not exactly know what you are doing and why it is needed (it is only needed in rare cases).

1
Avatar
Descartar
Avatar
Simplify-ERP® - Wapsol GmbH
Autor Best Answer

Without knowing what a "contra-account" is, we set all Accounts in the Journal to EUR, to no avail :(

One of the strange things is that Accounting > Settings don't save, instead throw following error.

File "/home/v9devblaze/odoo/openerp/addons/account/models/res_config.py", line 169, in onchange_company_id

self.default_sale_tax_id = isinstance(taxes_id, list) and taxes_id[0] or taxes_id

IndexError: list index out of range

Consequently the Accounting > Settings > Default Company Currency loads empty.

Update 1:

We managed to resolve the empty Default company currency issue, which seems to be unrelated to the invoice-validation problem, by removing the following user-default of taxes_id (from Settings > Technical > User-defined Default, in Dev-Mode):

Separately..

Going by this video from an older OpenERP version https://youtu.be/1EZ2HwJ7j80, there used to be such a field called Secondary Currency. Does the concept of Secondary Currency for Journal Accounts still exist in odoo9, especially for single-currency setups?

If this is the "Contra-Account" as Erwin Trevisan suggested, where can Contra-Accounts be manipulated?

Thank you in advance..

___

Update 2

Following Erwin's advise, we removed the mention of EUR currency on the related Accounts (specifically 3: 101200 Accounts Receivable, 111200 Current Liabilities, 200000 Product Sales). That got rid of the original error about "Secondary currency..".

0
Avatar
Descartar
Ermin Trevisan

Most probably yes. You should check your tax configuration. For the rest see my amended answer.

Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
method used when validating invoice and create journal items?
invoice journal account account.invoice
Avatar
Avatar
1
de març 15
8283
Error message: Field(s) `company_id` failed against a constraint: Account and Period must belong to the same company.
invoice validate account period validateerror
Avatar
0
d’abr. 17
5240
"Validate" button missing on invoices for users with Only Own Documents rights
invoice validate
Avatar
Avatar
Avatar
4
d’abr. 25
2329
What is the difference between account and journal ? Solved
journal account
Avatar
Avatar
Avatar
Avatar
5
de jul. 19
17401
How to extend Accounting module in openerp7 ?
invoice account
Avatar
Avatar
1
de març 15
6332
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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