mail_composer_cc_bcc: Message type forced to 'customer'

Aperta
#264 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reading mail_composer_cc_bcc/models/mail_thread.py around line 51 and compare how the module sets message types with Odoo’s handling of customer, portal, and user messages. Check how that affects the quick-access buttons for internal users. Done when the behavior and design choice are clarified and the issue’s reported effect is addressed or explained.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello,

I am trying to understand why the module mail_composer_cc_bcc forces all email message types to be "customer", see https://github.com/OCA/mail/blob/18.0/mail_composer_cc_bcc/models/mail_thread.py#L51.
As soon as this module is installed, emails sent to internal users are therefore considered to be sent to customers.

This has the side-effect that quick access buttons (to the related Odoo record) on top of the mail are not added anymore by Odoo, as it only adds a button for type "portal" or "user".

I can't find proper documentation about this design choice, hopefully you could help me understand this @hailangvn ?

Lingua principale
Python
Stelle
36
Fork
180
Merge medio
4g 2h
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OCA/mail

Tutte le issue di OCA/mail

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.