Tower: upload tk_construction_management 18.0.2.0.8 (was 18.0.2.0.8, via marketplace)
This commit is contained in:
33
addons/tk_construction_management/models/configuration.py
Normal file
33
addons/tk_construction_management/models/configuration.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2020-Today TechKhedut.
|
||||
# Part of TechKhedut. See LICENSE file for full copyright and licensing details.
|
||||
from odoo import fields, api, models
|
||||
|
||||
|
||||
class DocumentType(models.Model):
|
||||
_name = 'site.document.type'
|
||||
_description = "Project Document Type"
|
||||
|
||||
name = fields.Char(string="Title")
|
||||
|
||||
|
||||
class JobType(models.Model):
|
||||
_name = 'job.type'
|
||||
_description = "Activity"
|
||||
|
||||
name = fields.Char(string="Title")
|
||||
sub_category_ids = fields.Many2many('job.sub.category', string="Work Sub Type")
|
||||
|
||||
|
||||
class JobSubCategory(models.Model):
|
||||
_name = 'job.sub.category'
|
||||
_description = "Sub Activity"
|
||||
|
||||
name = fields.Char(string="Title")
|
||||
|
||||
|
||||
class InsuranceRisk(models.Model):
|
||||
_name = 'insurance.risk'
|
||||
_description = "Insurance Risk"
|
||||
|
||||
name = fields.Char(string="Risk")
|
||||
Reference in New Issue
Block a user