Merge pull request #779 from expsa/realmangtest

Update rental_contract.py
This commit is contained in:
zainab2097 2024-08-18 15:02:50 +03:00 committed by GitHub
commit e2c71ea7d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -10,8 +10,10 @@ from odoo.tools import exception_to_unicode
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):
_name = 'rental.contract.template'