Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Problem with invoices in migrated database with OopenUpgrade

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
OpenUpgrade
3 Besvarelser
355 Visninger
Avatar
Santiago Carbonell Forment
Good morning,

I've just migrated a database from Odoo16 to Odoo17 with OpenUpgrade and all it looks like works fine, I am able to open the sales invoices created time ago, and I'm able to create new sales invoices in draft mode but if I try to confirm it, it appear an error that says:

Record does not exist or has been deleted.
(Record: account.analytic.plan(2), User:2)

But I don't understand, because in the source database in odoo16, I didn't use/activate analytic accounts so that is why its says something about plan analytic. I attach the error

Can you help me?

Thanks

Regards

0
Avatar
Kassér
Avatar
Bay Forward
Bedste svar
Check Analytic Account Settings: In Odoo 17, ensure that the analytic feature is disabled if you don’t need it. You can do this in the Accounting settings under "Analytic Accounting" and turn it off.

Manually Remove Analytic Account: If the invoice is wrongly linked to an analytic plan, you can try removing the analytic account from the invoice or sales order before confirming it.

Update Migration Script: If the migration script activated analytic accounts or created default records, you may need to manually clean up any analytic plan records in the database.

0
Avatar
Kassér
Avatar
Kunjan Patel
Bedste svar
Hello Santiago Carbonell Forment
I hope you are doing well

Navigate to: Accounting → Configuration → Analytic Accounting → Analytic Plans

1. Click "Create" and name it "Default", save it
2. Go to Accounting → Configuration → Analytic Accounting → Analytic Accounts
3. Open each analytic account and assign the "Default" plan you just created
4. Try confirming your invoice again - the error should be resolved

The issue is that Odoo 17 requires analytic plans (new feature), but OpenUpgrade migration didn't create the default one from your Odoo 16 database.


I hope this information helps you

Thanks & Regards,
Kunjan Patel

0
Avatar
Kassér
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bedste svar

Hi,


After migrating from Odoo 16 to Odoo 17 with OpenUpgrade, you might encounter an error related to analytic accounts when confirming sales invoices, even if you didn't actively use them in Odoo 16. This can happen because Odoo 17 might have introduced a default requirement for analytic plans, data migration inconsistencies, or new module dependencies.

To resolve this, first, check if a default analytic plan exists and set a default analytic account in the accounting settings. Examine the journal entries configuration for the sales journal and ensure it doesn't require an analytic account if you don't intend to use them. Investigate any newly installed or updated modules for dependencies on analytic accounts. Review the OpenUpgrade logs for errors related to analytic accounts during migration. If needed, consider a manual data fix (if you have PostgreSQL expertise) or seek assistance from OpenUpgrade support or an Odoo partner.


Hope it helps

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Error employee_admin in openupgrade from odoo16 to odoo17
hr OpenUpgrade
Avatar
Avatar
Avatar
2
dec. 25
377
OpenUpgrade from 15.0 to 16.0 : filestore missing files Løst
filestore OpenUpgrade
Avatar
Avatar
Avatar
2
nov. 25
740
Open upgrade inventory script
OpenUpgrade inventory-script
Avatar
Avatar
1
jun. 25
1991
Expenses : Migration from 15.0 to 16.0 CE (used OpenUgrade)
expenses OpenUpgrade odoo16CE
Avatar
0
nov. 25
238
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
apr. 25
3438
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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