13 lines
492 B
Python
13 lines
492 B
Python
from odoo import models, fields, api
|
|
|
|
|
|
class PropertyConstructionUnit(models.Model):
|
|
_name = 'property.construction.unit'
|
|
_description = '施工单位'
|
|
|
|
name = fields.Char(string='公司名称')
|
|
aptitude = fields.Char(string='资质')
|
|
business_license_id = fields.Many2one('ir.attachment', string='营业执照')
|
|
legal = fields.Char(string='法人')
|
|
card_id = fields.Many2one('ir.attachment', string="身份证")
|
|
valid_date = fields.Date(string='有效日期') |