[TMP] Report Family add report member form.

This commit is contained in:
michel 2018-02-28 18:18:09 +01:00
parent 80ac172d62
commit e80facbff8

View File

@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<report id="golem_family_report"
string="Golem family report"
model="golem.family"
report_type="qweb-html"
report_type="qweb-pdf"
name="golem_family.report_golem_family_template" />
<template id="report_golem_family_template">
@ -68,15 +68,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
</t>
</div>
<div>
<t t-call="golem_member.report_golem_member_template" >
<t t-set="docs" t-value="o"/>
<t t-set="family_id" t-value="partner_id"/>
</t>
</div>
<t t-foreach="docs" t-as="o">
<t t-foreach="o.member_ids" t-as="i" >
<!-- <div class="page"> -->
<t t-call="golem_member.report_golem_member_template" >
<t t-set="docs" t-value="i.member_id" />
</t>
<!-- </div> -->
</t>
</t>
</t>
</t>
</template>
</odoo>