title: How to add a print a custom report from button in Odoo v11?
body: <p>I created a custom report in the accounting module a while ago a custom report .. that works quite well .. now what I would like to do is add a button in the header as the one that has by default but that is related to my custom report</p>
  
  <pre><code>&lt;report
      id="account_invoices"
      model="account.invoice"
      string="Factura pre-impresa"
      report_type="qweb-pdf"
      name="custom_report_module.report_custom_template"
      file="custom_report_module.report_custom_template"
      attachment_use="True"
      attachment="(object.state in ('open','paid')) and
          ('INV'+(object.number or '').replace('/','')+'.pdf')"
  /&gt;
  </code></pre>
  
  <p>This is what I call my report that appears in the drop-down list, after which I try to add the button but it just doesn't work for me</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;record id="my_invoice_tree_inherit" model="ir.ui.view"&gt;
          &lt;field name="name"&gt;account.invoice.form&lt;/field&gt;
          &lt;field name="model"&gt;account.invoice&lt;/field&gt;
          &lt;field name="inherit_id" ref="account.invoice_form"/&gt;
          &lt;field name="arch" type="xml"&gt;
              &lt;button name="invoice_print" position="after"&gt;
                  &lt;button name="print_bank_statement" string="Print Statement" type="object" help="Print in Pdf"/&gt;
              &lt;/button&gt;
          &lt;/field&gt;
  
      &lt;/record&gt;
  </code></pre>
  
  <p>Some help???</p>