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.
14 lines
431 B
14 lines
431 B
# 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)
|