Hi all,
I’m trying to make a QWeb report (“Cheque / Receipt”) available only for vendor payments in Odoo 17. Here’s my setup:
- Report action XML has binding_model_id="account.payment" so it appears in the Print menu.
Problem:
- The report still shows in the Print menu for all payments, including customer/internal payments.
- I want the menu item to completely disappear for non-vendor payments, without creating a separate button.