Files
gzth/yuthon_property/models/property_intention_information.py
T
2025-01-09 10:03:11 +08:00

15 lines
645 B
Python

from odoo import models, fields, api
class PropertyIntentionInformation(models.Model):
_name = 'property.intention.information'
_description = '意向客户列表'
name = fields.Char(string='姓名')
card_id = fields.Many2one('documents.document', string="身份证")
license_id = fields.Many2one('documents.document',string='营业执照')
entity_type = fields.Selection([('person', '个人'), ('company', '企业')], string='实体类型')
phone = fields.Char(string='联系人')
phone_number = fields.Char(string='联系电话')
industry_id = fields.Many2one('yuthon.industry.setting', string='行业')