首页 > 解决方案 > odoo.tools.convert.ParseError:“在系统中找不到外部 ID:account.report_invoice_with_payments

问题描述

我尝试自定义带有付款的发票报告,但在插件路径中找不到文件 xml,我也有这个错误:

raise ValueError('External ID not found in the system: %s' % xmlid)
odoo.tools.convert.ParseError: "External ID not found in the system:  account.report_invoice_with_payments" while parsing None:182, near
<data inherit_id=" account.report_invoice_with_payments">
            <!--EDIT Quantity column: print one value centred-->
            <xpath expr="//table[@class='table table-condensed']//tbody//tr//td[2]" position="replace">
            </xpath>
        </data>
2019-01-23 14:14:49,956 5585 INFO ? odoo.http: HTTP Configuring static files

标签: odoo

解决方案


ID 中有一个空格inherit_id="_SPACE_account.report_invoice_with_payments"。您必须删除它:inherit_id="account.report_invoice_with_payments"

并确保您的模块/应用程序依赖于account.


推荐阅读