odoo.tools.convert.ParseError:“在系统中找不到外部ID:account.report_invoice_with_payments

时间:2019-01-23 14:19:10

标签: odoo

我尝试自定义带有付款的发票报告,但是在插件路径中找不到文件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

1 个答案:

答案 0 :(得分:2)

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

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