Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4785 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
dez. 18
2927
1
jan. 18
5955
0
mai. 17
2654
3
jun. 23
10569
1
nov. 23
9432