You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
597 B

  1. # -*- coding: utf-8 -*-
  2. # © 2012-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
  3. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  4. from odoo import models, fields
  5. class ResUsers(models.Model):
  6. _inherit = "res.users"
  7. # Field name starts with 'context_' to allow modification by the user
  8. # in his preferences, cf odoo/odoo/addons/base/res/res_users.py
  9. # in "def write()" of "class res_users(osv.osv)"
  10. context_propose_creation_crm_call = fields.Boolean(
  11. string='Propose to create a call in CRM after a click2dial',
  12. default=True)