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
    • eLearning
    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
    • Información
    • 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

Is there a way to create recurring sales orders without using the subscriptions app in Odoo 19

Suscribirse

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

Se marcó esta pregunta
configurationSalesOrder
3 Respuestas
709 Vistas
Avatar
Mahmood

For a business that delivers Water Bottles to customers once a week, is it possible to have sales orders be created automatically each week. Is there a way of doing this without using the subscriptions app?

0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,


It’s possible to automate weekly sales orders in Odoo without using the Subscriptions app, though subscriptions are the standard approach. You can achieve this using automated actions or scheduled server actions.


Option 1: Scheduled Server Action


    Create a server action that generates a sales order for each customer.


        Go to Settings → Technical → Automation → Scheduled Actions.


        Create a new action:


            Model: sale.order


            Action To Do: Execute Python code


            Frequency: Weekly

    Python code example:


             customers = env['res.partner'].search([('is_water_customer','=',True)])

product = env['product.product'].search([('name','=','Water Bottle')], limit=1)


for customer in customers:

    order_vals = {

        'partner_id': customer.id,

        'order_line': [(0,0,{

            'product_id': product.id,

            'product_uom_qty': 5,  # Quantity per week

            'price_unit': product.list_price,

        })],

    }

    env['sale.order'].create(order_vals)


    is_water_customer can be a custom field on the customer to identify who receives weekly bottles.


    Adjust quantity, product, and pricing as needed.


    Activate the scheduled action to run every week on the desired day.


Option 2: Custom Module


    For more complex logic (e.g., different products for different customers, variable quantities), you can create a small custom module that automates weekly sales orders.


    The module can be configured to run via cron or scheduled action.


You do not need the Subscriptions app. By using scheduled server actions, you can automatically generate weekly sales orders for a list of customers. This can be simple Python code referencing a product and quantity, or a template-based system for more flexibility.


Hope it helps



0
Avatar
Descartar
Avatar
Jaideep
Mejor respuesta

Since it is about delivery schedule you could create a blanket SO and split the delivery order. (Or add new delivery orders to SO)

With the invoicing policy set to delivered qty period invoices can be generated only for the qty delivered.

0
Avatar
Descartar
Avatar
Codesphere Tech
Mejor respuesta

Hello Mahmood,

You can manage it via schedule action with some technical setup i.e. Generate the sales orders with the correct products and quantities.
Subscription App:  Odoo has this built-in feature where you can define a recurring product or service.

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
how to let "delivery to " address shows in the printed order file
configuration
Avatar
Avatar
1
nov 25
370
Do seniors get discounts on United flights?
configuration
Avatar
0
nov 25
2
accede al servicio de atención ¿Cómo hablo con un agente de Expedla?
configuration
Avatar
0
nov 25
3
l10n_co- Regla: ZB01, Rechazo: Fallo en el esquema XML del archivo
configuration
Avatar
Avatar
1
nov 25
107
Erreur de validation Le point de terminaison Peppol n'est pas valide. Le format attendu est : 0239843188
configuration
Avatar
Avatar
Avatar
Avatar
Avatar
7
nov 25
643
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