Skip to content
Snippets Groups Projects
Commit 4fda4838 authored by Benjamin Frantzen (bfr)'s avatar Benjamin Frantzen (bfr)
Browse files

[FIX] account_edi_extended : fix visibility of 'Retry' and 'Send Now' button.


Before this commit, the button 'Retry' would appear if the blocking_level of an account.move (aggregated value of all the related edi.document) was lower than 'error' even though the button 'Send now' also appears. The button 'retry' should only show if the blocking_level is 'error'.

closes odoo/odoo#65685

Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
parent 385fa293
Branches
Tags
No related merge requests found
......@@ -35,7 +35,6 @@
<div class="o_row">
<field name="edi_error_message" />
<button name="%(account_edi.action_open_edi_documents)d" string="⇒ See errors" type="action" class="oe_link" attrs="{'invisible': [('edi_error_count', '=', 1)]}" />
<button name="action_retry_edi_documents_error" type="object" class="oe_link oe_inline" string="Retry" />
</div>
</div>
<div class="alert alert-info" role="alert" style="margin-bottom:0px;"
......@@ -43,7 +42,6 @@
<div class="o_row">
<field name="edi_error_message" />
<button name="%(account_edi.action_open_edi_documents)d" string="⇒ See errors" type="action" class="oe_link" attrs="{'invisible': [('edi_error_count', '=', 1)]}" />
<button name="action_retry_edi_documents_error" type="object" class="oe_link oe_inline" string="Retry" />
</div>
</div>
</xpath>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment