diff options
| author | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2020-12-07 08:28:27 +0000 |
|---|---|---|
| committer | Benjamin Frantzen (bfr) <bfr@odoo.com> | 2020-12-07 14:10:45 +0000 |
| commit | e18c3f023d10944b2cea9cd23703529b41ba48d3 (patch) | |
| tree | 60a2eadec555928058811ae6eb2c55161836302c /addons/account_edi/views | |
| parent | b68ca9fb1d3f8c0a6346fa1d3d6cce28f4977bbd (diff) | |
[FIX] account_edi: fix 'send now' visibility in account.move form view
- Before the fix, the banner with the button would show when the move is posted or in creation mode even though no async edi is associated to this move.
closes odoo/odoo#62939
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/account_edi/views')
| -rw-r--r-- | addons/account_edi/views/account_move_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_edi/views/account_move_views.xml b/addons/account_edi/views/account_move_views.xml index 498c1a4d7ba..1a0d8f8e7d9 100644 --- a/addons/account_edi/views/account_move_views.xml +++ b/addons/account_edi/views/account_move_views.xml @@ -24,7 +24,7 @@ </xpath> <xpath expr="//header" position="after"> <div class="alert alert-info" role="alert" style="margin-bottom:0px;" - attrs="{'invisible': [('edi_web_services_to_process', '=', '')]}"> + attrs="{'invisible': [('edi_web_services_to_process', '=', False)]}"> <div>The invoice will be sent asynchronously to : <field name="edi_web_services_to_process" class="oe_inline"/> </div> |
