Merge pull request #1179 from expsa/add_webribbon

Update rental_contract_views.xml
This commit is contained in:
zainab2097 2024-09-16 13:21:23 +03:00 committed by GitHub
commit 452c727458
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>