Update rental_contract_views.xml

This commit is contained in:
zainab2097 2024-09-16 13:10:41 +03:00 committed by GitHub
parent 7b87de1bc0
commit 358d798a66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
</header>
<sheet>
<field name="is_today_end_date" invisible="0"/> <!-- Add this line -->
<widget name="web_ribbon" title="Expired" bg_color="bg-danger" attrs="{'invisible': [('is_today_end_date ', '!=', True)]}"/>
<widget name="web_ribbon" title="Expired" bg_color="bg-danger" attrs="{'invisible': [('is_today_end_date', '!=', True)]}"/>
<h1>
<field name="seq" readonly="1"/>
</h1>