17 lines
684 B
Python
17 lines
684 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models, fields, api, exceptions, _
|
|
from datetime import datetime, timedelta
|
|
|
|
|
|
class PropertyLesseeAnalysis(models.Model):
|
|
_name = 'property.lessee.analysis'
|
|
_description = '承租方租赁情况分析'
|
|
|
|
industry_id = fields.Many2one('yuthon.industry.setting', string='行业')
|
|
number_lessees = fields.Integer(string='承租方数量')
|
|
area = fields.Float(string='面积(㎡)')
|
|
area_ratio = fields.Float(string='面积占比')
|
|
total = fields.Float(string='上年租金收入合计')
|
|
total_ratio = fields.Float(string='收入占比') |