18 lines
701 B
Python
18 lines
701 B
Python
from odoo import api, fields, models, tools, _
|
|
from odoo.exceptions import ValidationError
|
|
|
|
|
|
class TianHeFeeExpend(models.Model):
|
|
_inherit = "approval.request"
|
|
_description = '费用支出'
|
|
|
|
payment_date = fields.Date(string="支付日期")
|
|
Payer = fields.Char(string="支付人")
|
|
affiliation = fields.Many2one("res.company", string="所属公司")
|
|
joint_name = fields.Char(string="合同名称")
|
|
project_name = fields.Char(string="项目名称")
|
|
property_listings = fields.Char(string="物业列表")
|
|
property_address = fields.Char(string="物业地址")
|
|
payment_type = fields.Char(string="支付类型")
|
|
expend_fee = fields.Integer(string="支出金额")
|