Files
gzth/yuthon_contract/models/inherit_res_partner.py
T
2024-08-15 16:03:34 +08:00

15 lines
520 B
Python

# -*- coding: utf-8 -*-
from odoo import api, fields, models, tools
from odoo.exceptions import ValidationError
class ResPartner(models.Model):
_inherit = 'res.partner'
_description = "联系人拓展"
sale_order_id = fields.Many2one("sale.order", string='关联租赁合同')
invoicing_type = fields.Char(string='开票类型')
billable_header = fields.Char(string='开票抬头')
address_delivery = fields.Char(string='送达地址')
rental_purposes = fields.Char(string='出租用途')