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

When i try to give report_name in report tag it throws below error: AssertionError: Element odoo has extra content: report, line 7

*.xml

<?xml version="1.0" encoding="utf-8"?>
    <odoo>

   <report id="action_report_followup"
   model="account_followup.followup"
   report_name="PPPPPPPPPPpppp" //Here is the problem
   string="Follow-up Report"
   report_type="qweb-pdf"
   name="payment_followup.report_followup"
   file="payment_followup.report_followup"
   menu="True"/>

</odoo>

If i remove attribute report_name it will work fine, and use value of string as report name. I need to give other name. How can i resolve this issue?


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
dic 18
2927
1
ene 18
5954
0
may 17
2645
3
jun 23
10569
1
nov 23
9426