我正在对 account.account 模型进行报告,但没有访问 account.invoice 模型的字段:我的视图 xml 如下:
<?xml version="1.0"?>
<t t-name="account.reporte_balance">
<t t-call="report.internal_layout" style="font-size:8px;">
<t t-foreach="docs" t-as="o">
<div class="page">
<div class="oe_structure"/>
<div class="row" style="font-size:8px;">
<div class="col-xs-12">.....
要访问应该编写以下内容的另一个模型的字段。但没有得到 account.account 专门的模型。
**<tr t-foreach="HERE WRITE THE ACCOUNT.ACCOUNT MODEL REL" t-as="o">**
<td class="text-center">
<span t-field="o.code"/>
</td>......
我感谢任何帮助。非常感谢您的宝贵时间。