これは数時間ですが、わかりません。私は作成したモジュールからフォームを印刷しようとしています。印刷ボタンをクリックすると、以下のエラーが表示されます。Odoo 9 ValueError:外部IDがシステムに見つかりません:
raise ValueError('External ID not found in the system: %s' % (xmlid))
ValueError: External ID not found in the system: ch08.qweb_ds_repair_template
マイreport.xmlファイル
<?xml version="1.0" encoding= "utf-8"?>
<openerp>
<data>
<template id="qweb_ds_repair_template">
<t t-call="report.html_container" >
<t t-foreach ="docs" t-as="o">
<t t-call ="report.external_layout">
<div class="page" >
<div class="oe_structure" />
<h1>Repair Form</h1>
<h2>Test: <span t-field="o.password"/></h2>
</div>
</t>
</t>
</t>
</template>
<report id="report_ds_repair_template"
name="ch08.qweb_ds_repair_template"
model="ds.repair"
string="Repair Form"
report_type="qweb-pdf"
/>
</data>
</openerp>
マイモジュールフォルダがds_repairと呼ばれています。わからない私は私のopenerpの.pyで依存関係が欠落している場合ので、ここでは
{
'name': 'Repairs',
'version': '1.0',
'sequence': 200,
'category': 'Manufacturing',
'summary': 'Repair',
'description': """,
The aim is to have a complete module to manage all products repairs.
====================================================================
""",
'depends': ['base'],
'website': '',
'data': ['report/report.xml',
'model_view.xml',
],
'demo': [],
'installable': True,
'auto_install': False,
}