Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

v18 Accounting Data Migration in From Main Company to Branch Company

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
actionconfigurationaccounting
1 Odpowiedz
1087 Widoki
Awatar
Pablo A

Dear Odoo Community Members,


I am reaching out to seek your support and expertise regarding a migration project we are currently undertaking within our Odoo v18 environment.


We have recently migrated our database from an older version to Odoo v18. Previously, we had a custom field to select "Branches" across various relevant records (sales, invoices, etc.). With the new functionality to have actual `res.company` records as branches, we are planning to implement these old "Custom Branches" into Odoo-supported branches.


The primary challenge is that our client requests the migration of all historical data from the old "Custom Branches" to the newly created `res.company` records. We are developing a server-side action that will run as a scheduled action to migrate the `company_id` field from the old company ID (1) to the new branch company ID (4).


Additionally, it is crucial to consider that accounting records do not exist in isolation; they have related records such as payments and partial reconciliations. We need to ensure that all these related records are correctly updated to reflect the new company structure.


To ensure the success of this migration, we would greatly appreciate any information regarding:


- Success Stories and Case Studies: Examples of similar migrations that have been successfully executed, including the challenges faced and the solutions implemented.


- Technical Best Practices: Guidance on the most effective methods to perform this migration, including the recommended sequence for migrating different types of records and strategies for handling dependencies between them.


- Potential Pitfalls and Mitigation Strategies: Insights into common issues encountered during similar migrations and how to proactively address them.


- Tool Recommendations: Any Odoo-native or third-party tools that could facilitate or streamline the migration process.


Our goal is to execute this migration with minimal disruption to our operations and maximum data accuracy. We appreciate any support or resources you can share.


0
Awatar
Odrzuć
Awatar
Karim Kayssi
Najlepsza odpowiedź

Migration Approach

  1. Plan & Map Branches
    • Map old “Custom Branch” values → new res.company records.
  2. Migrate Core Records First
    • Update company_id on sales orders, invoices, purchase orders.
    • Use a server-side action or script to run in batches.
  3. Handle Related Records
    • Payments, reconciliations, stock moves, journal entries → update company_id consistently.
    • Ensure accounting dependencies are respected (partial reconciliations, journal constraints).
  4. Sequence Matters
    • Update parent records first (e.g., invoices) → then related child records (payments, moves).
  5. Test in a Staging Database
    • Validate accounting, reports, and workflows before running in production.
  6. Tools & Best Practices
    • Odoo Studio / Server Actions for automation.
    • XML-RPC scripts or custom migration module for large datasets.
    • Always backup the database before migration.
  7. Pitfalls to Avoid
    • Inconsistent company_id across related records → breaks accounting constraints.
    • Forgetting reconciliations → causes reporting errors.
    • Skipping testing → can disrupt operations.

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
odoo accounting v14 pos v15
action configuration attach accounting
Awatar
0
lis 25
201
Account receivable - automatic statement of account sent to partner at beginning of each month
action configuration accounting finance
Awatar
Awatar
2
maj 25
1446
How do I ask a question on Expedia?
action accounting
Awatar
0
lis 25
3
US company selling to EU – OSS VAT automation not working
configuration accounting
Awatar
Awatar
1
paź 25
364
How can I edit the Website?
action configuration
Awatar
Awatar
Awatar
2
paź 25
575
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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