Ir al contenido
Menú
Se marcó esta pregunta
2094 Vistas

Hello,

I'm using Odoo 8.0-20160101. I tried to make some changes in the form "report_invoice_document", which worked well.

But now, when I print an invoice, I can't get the name of the customer, only the address. Hava I unwillingly erased something?

I don't know how to fix it. So I ask for some help.

He's the heading of the invoice:


<t t-name="account.report_invoice_document">   

    <t t-call="report.external_layout">       

        <div class="page">

            <div class="row">

                <div class="col-xs-5 col-xs-offset-7">

                    <address t-field="o.partner_id" t-field-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: true}"/>                    <span t-field="o.partner_id.vat"/>

                </div>

            </div>


Thank you for the help


Philippe

Avatar
Descartar