Update rental_contract_views.xml

This commit is contained in:
zainab2097 2024-09-16 12:39:00 +03:00 committed by GitHub
parent 04240c6c41
commit 43af5e7997
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@
statusbar_visible="draft,submit,confirm,review,close,cancel"/>
</header>
<sheet>
<widget name="web_ribbon" title="Expired" bg_color="bg-danger" attrs="{'invisible': [('is_today_end_date ', '!=', True)]}"/>
<h1>
<field name="seq" readonly="1"/>
</h1>
@ -94,6 +95,7 @@
</div>
<field name="date_from" attrs="{'readonly':[('state','!=','draft')]}" required="1"/>
<field name="date_to" readonly="1"/>
<field name="is_today_end_date" invisible="0"/>
<field name="rent_type" attrs="{'readonly':[('state','!=','draft')]}" required="1"/>
</group>