Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • e-learning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar 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
  • Proyecto
  • 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

Different Routes for Products on Different Companies

Suscribirse

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

Se marcó esta pregunta
purchasesalesinventoryroutingscompanies
3 Respuestas
5087 Vistas
Avatar
Mohamad Ali Chamas

I have the following case: I have 2 companies, in company 1 I issue a sales order and after issuing it, I developed a code to create a purchase order directly. When I confirm the purchase order, a sales order is created in company 2 after I activated the synchronization option between the 2 companies. The product I have consists of a bom of type kit. How I can make the product in company 1 just issue me a delivery order when I confirm the sales order and at the same time make it issue a manufacturing order when confirmed in company 2. Thanks

0
Avatar
Descartar
Avatar
Bhavin Patel
Mejor respuesta

You can create two different routes for the same product in each company.

For Company 1:

Go to the "Inventory" app and select "Routes" under "Configuration".
Click on the "Create" button to create a new route.
Give a name to the route, select "Manufacture" as the operation type, and select the appropriate Manufacturing location as the destination.
Set the "Active" field to true and select Company 1 under "Companies".
Save the route.

For Company 2:

Go to the "Inventory" app and select "Routes" under "Configuration".
Click on the "Create" button to create a new route.
Give a name to the route, select "Ship To" as the operation type, and select the appropriate Customer as the destination.
Set the "Active" field to true and select Company 2 under "Companies".
Save the route.

Next, assign the appropriate route to the product in each company.

For Company 1:

Go to the "Inventory" app and select "Products" under "Master Data".
Open the product for which you want to create a manufacturing order.
In the "Inventory" tab, select the route you created for Company 1 from the "Routes" field.
Save the product.

For Company 2:

Go to the "Inventory" app and select "Products" under "Master Data".
Open the product for which you want to create a delivery order.
In the "Inventory" tab, select the route you created for Company 2 from the "Routes" field.
Save the product.

Now, when you create a sales order in Company 1, a delivery order will be created automatically using the route assigned to the product for Company 2. When you create a purchase order in Company 1, a manufacturing order will be created automatically using the route assigned to the product for Company 1. When you confirm the purchase order, a sales order will be created in Company 2 using the route assigned to the product for Company 2.

2
Avatar
Descartar
Mohamad Ali Chamas
Autor

I created 2 routes: In company 1 where I need to deliver only. I created a route called 'Ship To' and assigned the action as 'Push To', set the operation type to 'Delivery Orders' and defined the source and destination location. In Company 2, I created a route called 'Manufacture' ,set the action as 'Manufacture', the operation type to 'Manufacturing, and defined the source and destination location. I also make sure to put the correct route for the product in each company. In company1 where I need to deliver, I set the route as 'Ship To' and in company 2 I set it 'Manufacture'. Now, when I create an SO from company1 and confirm it, I am getting a validation error that a product found in the bom has no reordering rules. How can I solve this? Thanks

Bhavin Patel

I think that one of the products in your bill of materials (BOM) doesn't have any reordering rules defined. Reordering rules are used by Odoo to determine when to create a procurement request to purchase or manufacture a product.

To solve this issue, you should define reordering rules for the product that is causing the error. Here are the steps to do this:

Go to the Inventory app and select the "Products" menu item.
Find the product that is causing the error and open its form view.
Select the "Inventory" tab and scroll down to the "Reordering Rules" section.
Click the "Add an item" button to create a new reordering rule.
In the "Procurement Method" field, select "Make To Order" if you manufacture the product or "Buy" if you purchase it.
In the "Minimum Quantity" field, enter the minimum amount of the product that you want to keep in stock before reordering.
In the "Maximum Quantity" field, enter the maximum amount of the product that you want to keep in stock.
In the "Quantity Multiple" field, enter the quantity that you want to order each time you create a procurement request for this product.
In the "Location" field, select the location where you want to stock this product.
Save the reordering rule and the product.

By defining reordering rules for the product, Odoo will now be able to create a procurement request when the stock level falls below the minimum quantity defined in the reordering rule. This should solve the validation error that you are encountering.

Mohamad Ali Chamas
Autor

Thank you for the insight, yes I am familiar with the following steps. For now, I just removed the route 'Replenish on Order' on both raw materials. I followed your first answer and now when creating a sales order I am getting only delivery which is right, my code create a PO and then I confirm it. Now, when I go to company 2, I find that the order has no manufacturing smart button created on it, even though I defined the route on company 2 as manufacturing. Can you help please

Bhavin Patel

If I understand correctly, you have set the route 'Manufacturing' on the product in company 2, but when you create a sales order for that product in company 1 and confirm the corresponding purchase order in company 2, you do not see the manufacturing order smart button on the purchase order in company 2.

There could be several reasons why the manufacturing order smart button is not appearing on the purchase order in company 2. Here are some things you can check:

Make sure that the route 'Manufacturing' is actually defined in company 2. You can do this by going to the Inventory app in company 2, selecting the product in question, and checking the 'Routes' tab to see if the 'Manufacturing' route is listed and active.

Make sure that the product in company 2 has a bill of materials (BOM) defined for it. The BOM defines the components and quantities required to manufacture the finished product. If the BOM is not defined, the system will not be able to create a manufacturing order.

Check that the manufacturing settings are properly configured in company 2. Go to the Manufacturing app in company 2 and check the settings under 'Configuration' to ensure that everything is set up correctly.

Verify that the user in company 2 has the necessary access rights to view the manufacturing order smart button. You can do this by going to the user's settings and checking the access rights for the 'Manufacturing Orders' module.

If none of these suggestions solve the issue, please provide more details about the steps you followed and the specific error messages or behaviors you are seeing.

Mohamad Ali Chamas
Autor

No, I am creating a sales order in company 1, when I confirm it, it directly creates a purchase order in company 1 (done through code). When I confirm the PO in Company 1 it creates a sales order in Company 2 (This option is activated by synchronizing through companies). What I need: When I confirm the SO in company 1, I just need to create a delivery order. And the SO in company 2, I need it to create me an MO. That's all

Bhavin Patel

Thank you for clarifying your requirements.

To achieve this, you can customize the behavior of the sales and purchase order confirmations in Odoo. Here's an overview of the steps you can follow:

In the Sales module, create a custom module or modify an existing module to override the default behavior of the sales order confirmation. You can do this by creating a new Python class that inherits from the original sales order confirmation class and overrides the create_purchase_order method to create a delivery order instead of a purchase order.

In the Manufacturing module, create a custom module or modify an existing module to override the default behavior of the purchase order confirmation. You can do this by creating a new Python class that inherits from the original purchase order confirmation class and overrides the create_sale_order method to create a manufacturing order instead of a sales order.

Use the Odoo multi-company feature to configure the relationships between the sales and purchase orders in the two companies. You can do this by setting up inter-company rules to automate the creation of the delivery order in Company 1 and the manufacturing order in Company 2.

Test your customizations to make sure that the delivery orders and manufacturing orders are created correctly when the sales and purchase orders are confirmed.

Note that this customization requires some development skills in Python and Odoo. If you are not familiar with Odoo development, you may need to seek assistance from an experienced developer.

Avatar
mike34
Mejor respuesta

There are many steps you must take to accomplish this. I found the above answers very good and helpful, you can refer to them for more information

0
Avatar
Descartar
Avatar
Mohamad Ali Chamas
Autor Mejor respuesta

Thank you for the insight, yes I am familiar with the following steps. For now, I just removed the route 'Replenish on Order' on both raw materials. I followed your first answer and now when creating a sales order I am getting only delivery which is right, my code create a PO and then I confirm it. Now, when I go to company 2, I find that the order has no manufacturing smart button created on it, even though I defined the route on company 2 as manufacturing. Can you help please

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

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

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Repair products in Stock
purchase sales inventory repair
Avatar
Avatar
1
jul 25
1024
Landed cost without creating PO/SO Resuelto
purchase sales inventory valuation
Avatar
Avatar
Avatar
Avatar
3
ene 25
5292
Real cost of good sold with respect to raw materials used
purchase sales inventory invoicing
Avatar
Avatar
Avatar
5
ago 23
6537
Creation de demo sur odoo.com
purchase sales accounting inventory
Avatar
0
jun 22
3877
accounting sales and purchase
purchase sales accounting inventory
Avatar
Avatar
1
nov 19
4352
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información 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 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