Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Problem with invoices in migrated database with OopenUpgrade

Odebírat

Get notified when there's activity on this post

This question has been flagged
OpenUpgrade
3 Odpovědi
360 Zobrazení
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
Zrušit
Avatar
Bay Forward
Nejlepší odpověď
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
Zrušit
Avatar
Kunjan Patel
Nejlepší odpověď
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
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

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

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Error employee_admin in openupgrade from odoo16 to odoo17
hr OpenUpgrade
Avatar
Avatar
Avatar
2
pro 25
379
OpenUpgrade from 15.0 to 16.0 : filestore missing files Vyřešeno
filestore OpenUpgrade
Avatar
Avatar
Avatar
2
lis 25
741
Open upgrade inventory script
OpenUpgrade inventory-script
Avatar
Avatar
1
čvn 25
2005
Expenses : Migration from 15.0 to 16.0 CE (used OpenUgrade)
expenses OpenUpgrade odoo16CE
Avatar
0
lis 25
241
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
dub 25
3443
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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