[FIX] expense: fix display of 'paid' ribbon
The 'paid' ribbon should not cover the 'receipts' stat button. It's now displayed underneath. closes odoo/odoo#58454 Taskid: 2343742 X-original-commit: b1a37e552d6ab5504f2ef8c52a7312fd5d025c79 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -592,7 +592,6 @@
|
||||
<field name="state" widget="statusbar" statusbar_visible="draft,submit,approve,post,done"/>
|
||||
</header>
|
||||
<sheet>
|
||||
<widget name="web_ribbon" title="Paid" bg_color="bg-success" attrs="{'invisible': [('state', '!=', 'done')]}"/>
|
||||
<div class="oe_button_box" name="button_box">
|
||||
<button name="action_get_attachment_view"
|
||||
class="oe_stat_button"
|
||||
@@ -601,6 +600,7 @@
|
||||
<field name="attachment_number" widget="statinfo" string="Documents"/>
|
||||
</button>
|
||||
</div>
|
||||
<widget name="web_ribbon" title="Paid" bg_color="bg-success" attrs="{'invisible': [('state', '!=', 'done')]}"/>
|
||||
<div class="oe_title">
|
||||
<label for="name" class="oe_edit_only"/>
|
||||
<h1>
|
||||
|
||||
Reference in New Issue
Block a user