[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
This commit is contained in:
Valentin Vinagre Urteaga
2020-05-28 20:18:37 +02:00
committed by Carlos Roca
parent 232b17b423
commit 4d8e722b8d

View File

@@ -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"