Purpose ======= With the new 'website_slides_sale' module users can now sell slide.channels. This commit adds a setting to let the user know he has to install website_sale to be able to sell courses / documentation.
12 lines
398 B
Python
12 lines
398 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResConfigSettings(models.TransientModel):
|
|
_inherit = "res.config.settings"
|
|
|
|
website_slide_google_app_key = fields.Char(related='website_id.website_slide_google_app_key', readonly=False)
|
|
module_website_sale_slides = fields.Boolean("Sell courses")
|