mirror of https://github.com/OCA/web.git
15 lines
431 B
Python
15 lines
431 B
Python
# Copyright 2019 Siddharth Bhalgami <siddharth.bhalgami@gmail.com>
|
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
|
|
|
from odoo.models import api, Model
|
|
|
|
|
|
class IrConfigParameter(Model):
|
|
_inherit = "ir.config_parameter"
|
|
|
|
@api.model
|
|
def get_webcam_flash_fallback_mode_config(self):
|
|
return self.sudo().get_param(
|
|
'web_widget_image_webcam.flash_fallback_mode',
|
|
default=False)
|