Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
4799 Widoki

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?


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 18
2931
1
sty 18
5956
0
maj 17
2662
3
cze 23
10572
1
lis 23
9438