diff options
| author | fw-bot <otis@odoo.com> | 2019-11-22 14:31:18 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-22 17:19:32 +0000 |
| commit | ba8ea74a4fde852b6526a04df1e5f7b3d8501b7e (patch) | |
| tree | 8794cb00359ed99302c46a407bfb874de5142881 /addons/l10n_it_edi/views | |
| parent | c52f91a5883ef7009efcaa029531b49be23cec24 (diff) | |
[FIX] l10n_it_edi: remove 'Send' button from Customer Invoices
'Send' button meant to send Italian e-invoices are shown
for invoices belonging to non-Italian companies as well.
Since the invoices' are being sent on validating the
invoice itself, Send button means less business here.
Hence removed it.
opw-1945836
closes #31470
closes odoo/odoo#40736
X-original-commit: 633b931d4565b7e81ef69f6554a0a69b002b78e3
Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/l10n_it_edi/views')
| -rw-r--r-- | addons/l10n_it_edi/views/l10n_it_view.xml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/l10n_it_edi/views/l10n_it_view.xml b/addons/l10n_it_edi/views/l10n_it_view.xml index ada99ce24a4..c22a96a4a49 100644 --- a/addons/l10n_it_edi/views/l10n_it_view.xml +++ b/addons/l10n_it_edi/views/l10n_it_view.xml @@ -154,8 +154,6 @@ <xpath expr="//button[@name='preview_invoice']" position="after"> <button name="post" type="object" icon="fa-envelope-o" class="btn btn-primary" string="Resend" attrs="{'invisible': ['|', ('type', 'not in', ('out_invoice', 'out_refund')), ('l10n_it_send_state', '!=', 'invalid')]}"/> - <button name="post" type="object" icon="fa-envelope-o" class="btn btn-primary" string="Send" - attrs="{'invisible': ['|', '|', ('type', 'not in', ('out_invoice', 'out_refund')), ('state', 'in', ['draft', 'cancel']),('l10n_it_send_state', 'not in', ['to_send', False])]}"/> </xpath> <xpath expr="//field[@name='type']" position="before"> <div class="alert alert-success" role="alert" |
