From 4d8e722b8dd6fe2308efa2812f2f7f84b4f86891 Mon Sep 17 00:00:00 2001 From: Valentin Vinagre Urteaga Date: Thu, 28 May 2020 20:18:37 +0200 Subject: [PATCH] [FIX] account_payment_order: fix payment orders from invoice tree view Case: User can't add invoices to payment/debit orders from the tree view but it's still possible to add them one by one from the form view. - Remove binding_views="form": by default are "tree & form". With this fix, users can add payment/debit orders from the invoice tree view --- account_payment_order/views/account_invoice_view.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/account_payment_order/views/account_invoice_view.xml b/account_payment_order/views/account_invoice_view.xml index 304497198..8a32eff9d 100644 --- a/account_payment_order/views/account_invoice_view.xml +++ b/account_payment_order/views/account_invoice_view.xml @@ -57,7 +57,6 @@ name="Add to Payment/Debit Order" res_model="account.invoice.payment.line.multi" binding_model="account.move" - binding_views="form" view_mode="form" target="new" id="account_invoice_create_account_payment_line_action"