odoo - 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
解决方案
ID 中有一个空格inherit_id="_SPACE_account.report_invoice_with_payments"
。您必须删除它:inherit_id="account.report_invoice_with_payments"
并确保您的模块/应用程序依赖于account
.
推荐阅读
- python - 在 python 2.7 中执行终端命令后控制不返回
- apache - 让我们在 debian 9 ISPConfig 中加密更新 Apache 没问题,但 https 失败,因为证书已过期
- php - Wordpress 自动添加“p”和“div”标签问题
- ajax - 数据表 laravel 找不到对象的数据
- file - 在内核模块中打开和读取文件
- javascript - 从 firebase web SDK 调用 firebase 函数,请求的资源上不存在“Access-Control-Allow-Origin”标头
- php - 在 Wordpress 的特定页面上按字母顺序对帖子进行排序
- java - 无法添加依赖:无法解决:androidx.lifecycle:lifecycle-extensions:2.2.0-rc2
- python - 如何在 Azure Databricks 笔记本中调试长时间运行的 python 命令?
- sqlite - SQLite3 不能删除行,没有这样的列错误