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.
|
|
# -*- coding: utf-8 -*- # Copyright 2019 Coop IT Easy SCRLfs # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import api, fields, models, _
class SubscriptionRequest(models.Model):
_inherit = 'subscription.request'
info_session_confirmed = fields.Boolean( string="Confirmed Info Session", default=False, )
def get_partner_vals(self): partner_vals = super(SubscriptionRequest, self).get_partner_vals() partner_vals['info_session_confirmed'] = self.info_session_confirmed return partner_vals
|