Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

v18 Accounting Data Migration in From Main Company to Branch Company

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
actionconfigurationaccounting
1 Responder
1098 Vistas
Avatar
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
Avatar
Descartar
Avatar
Karim Kayssi
Mejor respuesta

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
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
odoo accounting v14 pos v15
action configuration attach accounting
Avatar
0
nov 25
201
Account receivable - automatic statement of account sent to partner at beginning of each month
action configuration accounting finance
Avatar
Avatar
2
may 25
1451
US company selling to EU – OSS VAT automation not working
configuration accounting
Avatar
Avatar
1
oct 25
376
How can I edit the Website?
action configuration
Avatar
Avatar
Avatar
2
oct 25
583
Filtering Listed Journals in Accounting Dashboard Odoo 18 Resuelto
configuration accounting
Avatar
Avatar
1
oct 25
1990
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

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