getting error ImportError: No module named 'odoo.report' in odoo 11
问题 I'm getting an error ImportError: No module named 'odoo.report' while converting my codes from odoo version 10 to odoo version 11. My code is given below and how can I use those following code in Odoo 11? from odoo.report.render.rml2pdf import utils from odoo.report.render.rml2pdf import color Thanks in advance 回答1: In odoo 11 no need to use odoo.report lib. It is deprecated. You can use odoo.tools insted of that. Just import it with following statement: from odoo.tools import report 来源: