# -*- coding: utf-8 -*- ############################################################################### # # Cybrosys Technologies Pvt. Ltd. # # Copyright (C) 2023-TODAY Cybrosys Technologies() # Author: MOHAMMED DILSHAD TK (odoo@cybrosys.com) # # You can modify it under the terms of the GNU LESSER # GENERAL PUBLIC LICENSE (LGPL v3), Version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. # # You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE # (LGPL v3) along with this program. # If not, see . # ############################################################################### from odoo import fields, models class CaseSitting(models.Model): """Create case sitting""" _name = 'case.sitting' _description = 'Case Sitting"' date = fields.Date('Date', help='Date') details = fields.Text('Details', help='Details of sittings') contact = fields.Char('Contact', help="Name of contact person") done = fields.Boolean('Done', help="Is the sitting is completed or not") case_id = fields.Many2one('case.registration', string='Connecting Field')