mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 10:19:09 +02:00
13 lines
456 B
Python
13 lines
456 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from odoo import models, fields, api
|
|
|
|
|
|
class InsurancePolicy(models.Model):
|
|
_name = 'insurance.policy'
|
|
|
|
name = fields.Char(string='Name', required=True)
|
|
note_field = fields.Html(string='Comment', help="Notes for the insurance policy if any")
|
|
company_id = fields.Many2one('res.company', string='Company', required=True, help="Company",
|
|
default=lambda self: self.env.user.company_id)
|