Hello everyone,
I have a problem with t-foreach, it give me an error in the module.
This is the code:
odoo
data
template id="report_custom_template_body"
t t-call="web.external_layout"
div class="page"
h1 b FACTURA b h1
div
p Número: t t-esc="o.payment_reference" br
Fecha: t t-esc="o.invoice_date" br
Forma de pago: t t-esc="" p
div
div
h3 b CLIENTE b h3
t t-esc="o.partner_id.name" br
t t-esc="o.partner_id.vat" br
div
div
t t-foreach="o.product_id" t-as="p"
p t t-esc="p_value" p
t
div
div
t
template
template id="report_custom_template"
t t-call="web.html_container"
t t-foreach="docs" t-as="o"
t t-call="custom.report_custom_template_body"
t
t
template
data
odoo