i want to add a pdf report to res.partner model
i'have proceed this way;
<odoo>
<report
id="report_user"
model="res.partner"
string="Partner Report"
name="res.partner.report_partner_view"
file="res.partner.report_partner"
report_type="qweb-pdf" />
<template id="report_partner_view">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="o">
<t t-call="web.external_layout">
<t t-set="address">
<address t-field="o.id"
t-options='{"widget": "contact", "fields": ["name", "email", "phone"]}'/>
</t>
<div class="page">
</div>
</t>
</t>
</t>
</template>
</odoo>
but i get this error when i click on the print button which indicates that the system couldnt find the extenal id mentioned in the xml file,
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 1670, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: External ID not found in the system: res.partner.report_partner_view
i don't know why the system considers the tag "name" as an external id, and not just a human read able nomination tag, was there changes on the version 13 that i am not taking in consideration ?