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

integrity error while creating Invoice

Subscriure's

Get notified when there's activity on this post

This question has been flagged
accountingv7invoicing
9 Respostes
17701 Vistes
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
Descartar
Avatar
Mike Lindsay
Autor Best Answer

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

2
Avatar
Descartar
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
Descartar
Ray Carnes

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

Mike Lindsay
Autor

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
Descartar
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
Descartar
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
Descartar
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
Descartar
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
Analytic Accounting in v17 Solved
accounting invoicing
Avatar
Avatar
Avatar
Avatar
3
de jul. 25
4029
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
de març 25
2440
Cannot post invoice with any invoice date set in January 2024 Solved
accounting invoicing
Avatar
Avatar
1
de set. 25
2515
Comment savoir qu'une commande est entièrement facturée ? Solved
accounting invoicing
Avatar
Avatar
1
de febr. 25
2136
customer invoices
accounting invoicing
Avatar
Avatar
2
de nov. 24
2333
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