Update rental_contract_views

This commit is contained in:
zainab2097 2024-09-05 21:09:58 +03:00 committed by GitHub
parent de05146c9d
commit d64a980682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 2 deletions

View File

@ -42,15 +42,22 @@
type="object"/>
<button name="action_confirm" string="Confirm"
states="review"
groups="property_management.group_property_manager"
type="object"/>
<button name="action_renew" string="Renew Contract" type="object"
confirm="Are you sure to renew the contract? That is mean you will renew this contract and create new draft one"
class="oe_highlight"
states="confirm"
groups="property_management.group_property_manager"
/>
<button name="action_cancel" string="Cancel"
states="draft,submit"
type="object"/>
states="draft,submit,review"
type="object" groups="property_management.group_property_manager"/>
<button name="action_draft" string="RE-set To Draft"
states="draft,submit,review"
type="object" groups="property_management.group_property_manager"/>
<field name="state" widget="statusbar"
statusbar_visible="draft,submit,confirm,review,close,cancel"/>
</header>