跳至内容
菜单
此问题已终结
4778 查看

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?


形象
丢弃
相关帖文 回复 查看 活动
1
12月 18
2927
1
1月 18
5953
0
5月 17
2644
3
6月 23
10568
1
11月 23
9426