invantive documentation
Forum di supporto InvantiveAccedi / Registrati

thread_phone: Odoo itgen_odoo_thread_phone

read only per partition

  • Catalogo: Odoo
  • Schema: mail
  • Etichetta: itgen_odoo_thread_phone

Phone Blacklist Mixin

È possibile solo recuperare i dati.

Purpose of this mixin is to offer two services

  * compute a sanitized phone number based on ´´_sms_get_number_fields´´.
    It takes first sanitized value, trying each field returned by the
    method (see ``MailThread._sms_get_number_fields()´´ for more details
    about the usage of this method);
  * compute blacklist state of records. It is based on phone.blacklist
    model and give an easy-to-use field and API to manipulate blacklisted
    records;

Main API methods

  * ``_phone_set_blacklisted``: set recordset as blacklisted;
  * ``_phone_reset_blacklisted``: reactivate recordset (even if not blacklisted
    this method can be called safely);

Colonne della tabella

Di seguito sono riportate le colonne della tabella thread_phone. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

Name Tipo di dati Label Required Marks Documentation
has_message boolean Has Message
message_attachment_count int32 Numero di allegati
message_follower_ids varchar2
message_has_error boolean Message Delivery error If checked, some messages have a delivery error.
message_has_error_counter int32 Number of errors Number of messages with delivery error
message_has_sms_error boolean SMS Delivery error If checked, some messages have a delivery error.
message_ids varchar2
message_is_follower boolean Is Follower
message_main_attachment_id varchar2
message_main_attachment_id_label varchar2
message_needaction boolean Action Needed If checked, new messages require your attention.
message_needaction_counter int32 Numero di azioni Number of messages which requires an action
message_partner_ids varchar2
mobile_blacklisted boolean Blacklisted Phone Is Mobile Indicates if a blacklisted sanitized phone number is a mobile number.Helps distinguish which number is blacklisted when there is both a mobile and phone field in a model.
phone_blacklisted boolean Blacklisted Phone is Phone Indicates if a blacklisted sanitized phone number is a phone number.Helps distinguish which number is blacklisted when there is both a mobile and phone field in a model.
phone_mobile_search varchar2 Phone/Mobile
phone_sanitized varchar2 Sanitized Number Field used to store sanitized phone number.Helps speeding up searches and comparisons.
phone_sanitized_blacklisted boolean Phone Blacklisted If the sanitized phone number is on the blacklist, the contact won't receive mass mailing sms anymore, from any list
website_message_ids varchar2 Website communication history

Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver: