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

Magento 2 order item sync with bundle item

Suscribirse

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

Se marcó esta pregunta
magentomagetnomagento_integration
1 Responder
986 Vistas
Avatar
vikas kalal

I have done r&d and found the term bundle is not used in odoo as the product in odoo can be managed using combo item. But when i am trying to create combo item using JSONRPC Api the combo item is created individual instead of grouping in parent item. Can any one provide me the sample api response to create combo items as like magento do in it's bundle product.


API REQUEST :

{

"jsonrpc": "2.0",

"method": "call",

"params": {

"service": "object",

"method": "execute_kw",

"args": [

"{dbname}",

"{id_odoo}",

"{tokenAccess}",

"sale.order",

"create",

[

{

"partner_id": 6,

"pricelist_id": 2,

"order_line": [

[0, 0, {

"product_uom_qty": 1,

"price_unit": 628.00,

"product_id": 2, // simple product id

"tax_ids": [[6, false, [275]]]

}],

[0, 0, {

"product_uom_qty": 3,

"product_id": 9, // odoo Parent Product A ID

"price_unit": 100,

"tax_ids": [[6, false, [275]]]

}],

[0, 0, {

"product_uom_qty": 3,

"product_id": 8,

"price_unit": 0.50,

"tax_ids": [[6, false, [275]]]

}],

// Shipping line

[0, 0, {

"product_uom_qty": 1,

"product_id": 4,

"price_unit": 4.00,

"is_delivery": true,

"tax_ids": [[6, false, [275]]]

}]

],

"partner_shipping_id": 7,

"partner_invoice_id": 7

}

]

]

}

}


I want to prepare request for bundle items.

0
Avatar
Descartar
vikas kalal
Autor

Not exact bundle i need to sync here but as combo i can manage my items the things i need how to pass from api the order create request which should be created like this UI in odoo. This issue only i need to solve rest of all things is syncing fine.

Click to see the required output after order created using Api,

"https://prnt.sc/4JaTyyQVdCPG"

Avatar
Christoph Farnleitner
Mejor respuesta

Magento Bundle Products and Odoo Combo Products are not the same thing. Similar at best, but different in so many details.

For example: 

  • Magento Bundle Products can consist of Virtual and Simple Products while a Odoo Combo Product can consist also of what you would call a Configurable Product in Magento
  • Magento Bundle Product child Products allow variable quantities, Odoo Combo child Products don't
  • Magento Bundle Product child Product 'Groups' can be optional, Odoo Combo Choices can't
  • Pricing in general is different on many levels

to name only a few differences.


However, the request body you've shared suggests you're interested in creating Sale Orders in Odoo. So - why go through the hassle in trying to replicate a product type of Magento that doesn't exist in Odoo when you could just create the individual lines in Odoo as they would be defined in Magento's cart? 

In my opinion you're far better of by splitting up the Bundle Product's final price onto the individual Sale Order Lines. Structure wise you may just add a Sale Order Line of type 'Section' prior to the individual products to achieve a result that resembles the actual Bundle of Magento. The fact that Odoo would render prices and row totals for all the products involved could be covered by flagging the Sale Order Line (i.e. by introducing a field is_mage_bundle_item True/False) and extend the reports to conditionally show/hide these table cells in PDF reports and portal templates.

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
Integrate Odoo 9 to Magento 2.0
magento magento_integration
Avatar
Avatar
Avatar
Avatar
Avatar
7
jun 21
14261
NoConnectorUnitError: When I try to delete res.partner.category from odoo with magento integration that gives me ERROR like :
magento magento_integration
Avatar
Avatar
2
nov 16
5443
Has anyone integrated the Odoo Customer online portal with magento?
magento integration magento_integration
Avatar
0
may 17
3887
NoConnectorUnitError Resuelto
magento connector magento_integration
Avatar
1
nov 16
4107
Connect Odoo 12 with Magento 2.3 For PFE
magento free student magento_integration
Avatar
Avatar
Avatar
3
ago 22
5453
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