Python OpenERP中未调用Aeroo报告函数
我在OpenERP中与Aeroo report合作。我定义了一个名为fill_starsself,amount:的函数,它获取金额并转换为文本格式 当我要打印报告时,它给出了以下错误Python OpenERP中未调用Aeroo报告函数,python,xml,openerp,reportlab,rml,Python,Xml,Openerp,Reportlab,Rml,我在OpenERP中与Aeroo report合作。我定义了一个名为fill_starsself,amount:的函数,它获取金额并转换为文本格式 当我要打印报告时,它给出了以下错误 Exception: (u'Aeroo Reports: Error while generating the report "Invoice Report".', UndefinedError('"fill_stars" not defined',)) 我检查了回溯,结果是函数没有被调用。经过很长时间,我找到了
Exception: (u'Aeroo Reports: Error while generating the report "Invoice Report".', UndefinedError('"fill_stars" not defined',))
我检查了回溯,结果是函数没有被调用。经过很长时间,我找到了解决方案。希望这对大家都有帮助 如果Libreoffice服务器和telnet服务器未启动,则函数将不会调用 从服务器上方开始的步骤 然后进入设置/模块/更新模块列表:搜索“ooo”,您将找到“report\u aeroo\u ooo”。安装模块 最后,从Setting/Technical/Configure OpenOffice.org co.配置OpenOffice.org连接。。然后按connect 之后,我的职能和报告工作顺利
cd /usr/lib/libreoffice/program/ #to move to the libreoffice:
./soffice -nologo -nofirststartwizard -headless -norestore -invisible "-accept=socket,host=localhost,port=8100,tcpNoDelay=1;urp;" #Open Libreoffice server
telnet localhost 8100 #Open another terminal and Test Localhost