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

v17: Automation Rules - Trigger is missing?

Suscribirse

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

Se marcó esta pregunta
Automationv17
2 Respuestas
4116 Vistas
Avatar
SmithJohn45

what if i want to create an Automation Rule for Create only? i can see there is a On Save trigger but it works on both Create and Write (Update). I want it to Execute Code on Create only. it was present in earler versions, why is missing in 17? 

how to implement it specifically for On Create not Write (Update).


regards


if possible, please help on this too...

https://www.odoo.com/forum/help-1/function-to-get-last-or-greatest-value-241479


1
Avatar
Descartar
Avatar
Chris TRINGHAM
Mejor respuesta

 It is possible to use the old triggers (including Create) by making a small change to the XML to use the Selection widget:



This trigger my be removed in future, so the official workaround is to use “On Save” and then select creation date as the trigger (labelled as “when updating”) – because this will never change.


Full details including an option with Studio here:  https://odootricks.tips/automation-rules-odoo-17

1
Avatar
Descartar
Shloma Sandel

Just for reference
This can be done with no coding as well in the developer app
Click on the Field - go to field properties - widget - choose "Selection (selection)"

Ricardo Gross

the question is why "base_automation_trigger_selection" doesn't show all the options?

Chris TRINGHAM

Yes, good question Ricardo. It seems that they have simplified the interface and lost some functionality in doing that. Maybe someone can create a simple add-on to give us back what we had before!

SmithJohn45
Autor

thank you @Chris TRINGHAM for help.
will check this and give feedback. i am struggling for a Compute field which require much code ('much' for me) at here

https://www.odoo.com/forum/help-1/add-compute-field-to-calculate-employee-loan-amount-244620

please help for this too. i will be much grateful.

regards

Chris TRINGHAM

Hi Ahmed (akaSmithJohn45)

I (try to) answer questions that will be of general interest, not solve specific problems for people free of charge. Maybe you should hire an Odoo developer?

SmithJohn45
Autor

thank you @Chris TRINGHAM

i am trying my best and will continue struggle to achieve this, if you have seen on given link what i already have done yet.

regards

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

In Odoo 17 actually the On create Method is deprecated , They prefer to use On save instead of On create.


The above screenshot is from Odoo addons. In that they are specifying that On create is depricated in odoo 17


Hope it helps

0
Avatar
Descartar
Chris TRINGHAM

Yes, it still works, but may be removed at some point.

¿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
Limitations in Automation Rules (Odoo 17) Resuelto
AutomatedActions Automation v17
Avatar
Avatar
Avatar
2
abr 25
5755
Odoo 17 : Automation Rules (base.automation) not working correctly
Rules Automation v17
Avatar
Avatar
1
feb 24
4346
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
oct 25
1240
How to add a new Many2one field in res.config.settings? Resuelto
v17
Avatar
Avatar
Avatar
Avatar
4
oct 25
3572
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
sept 25
2256
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