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
543 B

  1. # -*- coding: utf-8 -*-
  2. # Copyright 2015 Therp BV <http://therp.nl>
  3. # Copyright 2016 Pedro M. Baeza
  4. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. from odoo import models, fields
  6. class ResCompany(models.Model):
  7. _inherit = 'res.company'
  8. favicon_backend = fields.Binary()
  9. favicon_backend_mimetype = fields.Selection(
  10. selection=[('image/x-icon', 'image/x-icon'),
  11. ('image/gif', 'image/gif'),
  12. ('image/png', 'image/png')],
  13. help='Set the mimetype of your file.')