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

Avoid message "You have been assigned to" for new invoices

Suscribirse

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

Se marcó esta pregunta
mailnotificationsinvoicing
4 Respuestas
8003 Vistas
Avatar
Josep Anton Belchi Riera

Salespeople assigned to invoices are notified each time one is created.

Can I stop this? 

0
Avatar
Descartar
Creyox Technologies

Hello,

May be this is helpful to you.

https://www.odoo.com/forum/help-1/how-to-disable-automatic-mail-8796

Josep Anton Belchi Riera
Autor

Thanks for your answer, Shivoham. 

The forum thread you send me is quite old and refers to version 8. My DB is in version 13.
It does not exactly relate to my question either.
I need the salespeople not to receive a notification for every invoice created. When an invoice is created (before being posted) they receive a message that says: "You have been assigned to invoice... ".
There are a lot of invoices so they receive too much useless notifications. 

Caribbean Data Challengers

Dit you get a solution for this yet?
I created an automated action that removes followers from the invoice (based on a condition on the contact so we can select who is allowed to follow invoices), but the mail gets send before the automated action removes the followers...
You should be able to control this in the Subtypes in Technical Settings (v15) but this seems to be hard coded behavior.
I am hoping you found a solution, if so please share.

Jaideep

@Toon van der Ploeg, you may need to create the automated action on the followers model so they are never added to an invoice.

https://www.odoo.com/forum/help-1/automated-action-to-remove-vendor-as-default-follower-from-po-v14-181175

Caribbean Data Challengers

@Jaideep, Thanks for the suggestion. I already tried that. Both on the Invoice model and on the Followers model. In both cases the mail still gets send. First mail "you have been assigned to draft invoice..." and the second when the invoice is confirmed simply always cc's that mail to the Salesperson.
I think @Canditroot provided the best approach: overriding the method based on a condition. But I would need the steps to do that in odoo.sh. Condition in my case could be a Boolean on the partner model "cc in customer invoices".

Avatar
Ray Carnes (ray)
Mejor respuesta

In Developer Mode, create an Automation from Settings --> Technical --> Automation --> Automation Rules

 

2
Avatar
Descartar
Josep Anton Belchi Riera
Autor

It seems a good solution, but it's not working for me. (15.0EE, On premise)
I assume that the field "Partners" is partner_ids, who are the recipients of the notification.
I've implemented this as a Python action in order to debug it.
I checked that the action is running and that the fields are set to False at the end of the code.
However, when checking the mail.message record, you can see that the partner_ids field is set to False (ok), but not the other fields.
Notification is sent to users.

#This is my code:
for record in records:
record['partner_ids'] = False
record['notified_partner_ids'] = False
record['notification_ids'] = False

If someone has an idea, it will be appreciated.

Ray Carnes (ray)

You can always use Python code via EXECUTE CODE:

env["mail.mail"].search([your_custom_domain]).cancel()

Caribbean Data Challengers

Thank you Ray, this worked for me (tested in v17).

Avatar
CandidRoot Solutions Private Limited
Mejor respuesta

You may override the method '_message_auto_subscribe_notify' and stop the notification message based on condition

Thanks & Regards,

​

CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209
Email: info@candidroot.com
Skype: live:candidroot
Web: https://www.candidroot.com
Address: 1229-1230, Iconic Shyamal, Near Shyamal Cross Road, Ahmedabad, Gujarat 380015
    

1
Avatar
Descartar
Avatar
Gerard ONeill
Mejor respuesta

The Odoo customer care response was to remove the "Status Change" message subtype for the model sales.order. 

It seems to have worked..  But OTOH if we did want to have a message when the sales order (subscription) status changed, we probably wouldn't get it..



Update after last batch of invoices.  This did not work.  Back to talking with Customer services.

0
Avatar
Descartar
Jet Bolivar

Hi Gerard ONeill, can you please clarify how to do this workaround. Where to find this option to remove 'status change' message subtype. Thanks

Gerard ONeill

Hi Jet Bolivar - To check message subtypes go to: Settings -> Technical -> Discuss: Subtypes.

You have to find the combination of subtype and model - each model determines what message can be sent and when.

By unchecking the "Default" flag, it "disable's" it.

Again - Limited knowledge here; I asked technical support, and aside from giving me this answer, they weren't helpful about debugging or gotchas or other ways of helping with this subject.

Avatar
Jaideep
Mejor respuesta

You might need to deactivate the Qweb View: message_user_assigned

Do check the post below, though it refers to deactivating user assigned notifications on an SO it might help.

https://www.odoo.com/forum/help-1/prevent-the-message-from-automatically-going-out-when-salesperson-is-assigned-to-an-so-and-its-confirmed-190501

0
Avatar
Descartar
Caribbean Data Challengers

That is certainly helpful, but won't this disable all assignment messages?
What if we simply do not want Salespersons to be assigned to Customer Invoices? Many organizations have an AP department for that.

Caribbean Data Challengers

I could not edit my previous comment. But I tested disabling the view, still email gets sent out "you have been assigned to draft invoice..."

Jaideep

Sorry, I hadn't tested this myself had forwarded the post as is. Also, would you know if you were creating an Invoice from an existing SO (SO that was created prior to deactivating the view)?

Also, if your case is to exclude a person or group you could probably create an automated action

A few posts on how that could be helpful
https://www.odoo.com/forum/help-1/how-can-i-remove-all-followers-via-an-automated-action-189762
https://www.odoo.com/forum/help-1/automated-action-to-remove-a-follower-205944
https://www.odoo.com/forum/help-1/automated-action-to-remove-vendor-as-default-follower-from-po-v14-181175

Josep Anton Belchi Riera
Autor

Jaidepp: Thanks for your today's answer. I will study it carefully

¿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
Mail Notification : Customize the text Resuelto
mail notifications
Avatar
Avatar
Avatar
2
nov 23
7216
Send an email automatically after an order or a purchase Resuelto
mail notifications
Avatar
Avatar
Avatar
Avatar
Avatar
9
dic 22
25445
Can an internal notification and an email be sent at the same time? [11]
mail notifications 11
Avatar
0
oct 18
4159
How can I disable globaly that customers can receive mails and notifications?
mail v7 notifications
Avatar
Avatar
Avatar
Avatar
Avatar
6
mar 15
11125
Safe to delete system notifications?
mail scheduler notifications
Avatar
Avatar
1
mar 15
6435
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