Update rental_contract.py

This commit is contained in:
zainab2097 2024-08-18 17:11:14 +03:00 committed by GitHub
parent 92bf574966
commit a28939afca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ from odoo import models, fields, api, exceptions, tools, _
_logger = logging.getLogger(__name__)
class ResPartner(models.Model):
_inherit = 'res.partner'
is_tenant = fields.Boolean(string="Is Tenant?")
class RentalContractTemplate(models.Model):