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

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