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.

17 lines
620 B

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