I am trying to add a new column(Number of Members) to the pdf invoice and hide the tax column when I generate the pdf file no change happen, I want to know which xml file generate the invoce.
here is my xml:
<odoo> <template id="report_invoice_inherit" inherit_id="account.report_invoice_document"> <xpath expr="//table[@name='invoice_line_table']//thead//tr" position="inside"> <th name="th_members" class="text-end"><span>Number of Members</span></th> </xpath> <xpath expr="//table[@name='invoice_line_table']//tbody//tr//td[@name='td_quantity']" position="after"> <td name="td_members" class="text-end"> <span t-field="line.num_members"/> </td> </xpath> <xpath expr="//table[@name='invoice_line_table']//thead//tr//th[@name='th_taxes']" position="attributes"> <attribute name="class">d-none</attribute> </xpath> <xpath expr="//table[@name='invoice_line_table']//tbody//tr//td[@name='td_taxes']" position="attributes"> <attribute name="class">d-none</attribute> </xpath> </template></odoo>