Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Property Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

integrity error while creating Invoice

Naroči se

Get notified when there's activity on this post

This question has been flagged
accountingv7invoicing
9 Odgovori
17969 Prikazi
Avatar
Mike Lindsay

Just starting to test V7 today. This is with a blank install. I successfully created customers, products, and sales orders. After confirming the sales order, and completing the Delivery Order, I click Create Invoice, and get this message;

Integrity Error

The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set

[object with reference: account_id - account.id]

I assume I just haven't completed setup of something. Any ideas what I missed?

2
Avatar
Opusti
Avatar
Mike Lindsay
Avtor Best Answer

Somehow I installed invoicing and payments, but ended up with Accounting module not even installed. That was the issue.

2
Avatar
Opusti
Avatar
Gustavo
Best Answer

I would check the following items:

  • accounting journals
  • properties for your products in sales: check that in the accounting tab of your products
4
Avatar
Opusti
Ray Carnes

+1 - this is usually because the product your are trying to invoice has no income account.

Mike Lindsay
Avtor

I set income accounts for the items parent category. I will try to double check this today though, been a little busy.

Avatar
Peter
Best Answer

This happens if the Customer you are selling to, has no Accounts Payable and Accounts Receivable tied to his profile.

To be on the safe side, configure an expense and income accounts for the Saleable Product.

4
Avatar
Opusti
Dave Burkholder

Thanks a lot. I was getting this error on Purchase Orders also and I couldn't figure out what to do as I had Income / Expense accounts for the products. Here I missed AP / AR accounts for the Vendor. Fixed that and my problem was resolved.

Avatar
patrick
Best Answer

The answer is already in the message. Somehow the invoice is missing an id for the account, which is a obligated field. You probably have not setup something for accounting (for example which financial book does the invoice have to be mapped in order for the financial department to process it correctly). Have you installed any financial modules and have you specified which kind of bookkeeping you want to use?

1
Avatar
Opusti
Avatar
Victor Okrobodo
Best Answer

I experienced a similar issue and this is usually tied to some sort of missing account configuration. You can try these steps:

  • Make sure the income account is set for the product. You can do this by checking under the invoicing tab for the selected product. The income account for the product may have already been set for at the Product Category level. Just make sure this is done

  • Set Account receivables and Account payable for the customer

  • For the journal the invoice is recorded under, set the default debit account and default credit account.

In my own case, I had to set the default credit and debit account for the Customer Invoices journal to resolve the issue.

0
Avatar
Opusti
Avatar
Jordan Vrtanoski
Best Answer

I had same problem. My solution was to install the Accounting module and to set-up the "Income Account" and "Expense Account" for the product, as well as the accounts for the customer.

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Analytic Accounting in v17 Solved
accounting invoicing
Avatar
Avatar
Avatar
Avatar
3
jul. 25
4325
Journal Entry PB-Tab/2025/00007 is not valid. In order to proceed, the journal items must include one and only one outstanding payments/receipts account.
accounting invoicing
Avatar
Avatar
1
mar. 25
2689
Cannot post invoice with any invoice date set in January 2024 Solved
accounting invoicing
Avatar
Avatar
1
sep. 25
2763
Comment savoir qu'une commande est entièrement facturée ? Solved
accounting invoicing
Avatar
Avatar
1
feb. 25
2335
customer invoices
accounting invoicing
Avatar
Avatar
2
nov. 24
2556
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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