15 lines
635 B
Python
15 lines
635 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('ir.attachment', string="身份证")
|
|
license_id = fields.Many2one('ir.attachment',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='行业')
|