Update re_unit

This commit is contained in:
zainab2097 2024-08-28 11:59:25 +03:00 committed by GitHub
parent a5e8266d92
commit a101fed6fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -26,8 +26,12 @@
<span class="o_stat_text" attrs="{'invisible': [('unlock', '=', True)]}">Lock</span>
</button>
<!-- Add your buttons here -->
<button class="oe_stat_button" string="Documents" name="get_attachments" type="object" icon="fa-file-text-o"/>
<button name="action_view_maintenance" type="object" icon="fa-wrench" class="oe_stat_button">
<button name="get_attachments" type="object"
class="oe_stat_button"
icon="fa-file-text-o">
<field name="attach_nbr" widget="statinfo" string="Documents"/>
</button>
<button name="action_view_maintenance" type="object" icon="fa-wrench" class="oe_stat_button">
<field name="maintenance_count" widget="statinfo" string="Maintenance"/>
</button>
</div>