Files
gzth/yuthon_property/models/property_other_list.py
T
2024-12-30 11:46:57 +08:00

11 lines
369 B
Python

from odoo import models, fields, api
class PropertyOtherList(models.Model):
_name = 'property.other.list'
description = '其他费用'
contract_code = fields.Char(string='合同编号', required=True)
property_id = fields.Many2one('yuthon.property', string='物业')
lessee_id = fields.Many2one('property.tenant.information', string='承租方')