from odoo import models, fields, api
from odoo.exceptions import UserError, ValidationError
from psycopg2 import sql, DatabaseError

from werkzeug import utils


class ProductTemplate(models.Model):
    _inherit = "product.template"
   
    booking_product = fields.Boolean(string="booking product", tracking=True)
    booking_option_product = fields.Boolean(string="booking option product", tracking=True)
    booking_option_product_backoffice = fields.Boolean(string="booking option product for backoffice", tracking=True)

    # def _get_special_price(self, combination=False, product_id=False, add_qty=1, pricelist=False, parent_combination=False, only_template=False):
      
        
    #     special_price={}
    #     special_price['price_adherent']=100
    #     special_price['price_soutien']=100
    #     return special_price






