[TMP] Report Golem_member #9

Manually merged
fabien merged 15 commits from michel/GOLEM:michel_qweb_adherents into master 2018-03-08 16:19:22 +01:00
2 changed files with 11 additions and 11 deletions
Showing only changes of commit 5a93c3c0bd - Show all commits

View File

@ -22,20 +22,20 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<report id="golem_activity_registration_report" <report id="golem_activity_registration_report"
string="golem_activity_registration report" string="golem_activity_registration report"
model="golem.activity_registration" model="golem.activity_registration_state"
report_type="qweb-html" report_type="qweb-html"
name="golem_activity.report_golem_member_template" /> name="golem_activity.report_golem_member_template" />
<template id="activity" inherit_id="golem_member.report_golem_member_template"> <template id="report_golem_member_template" inherit_id="golem_member.report_golem_member_template">
<t t-foreach="docs" t-as="o"> <xpath expr="//td[@id='place']" position="after">
<table> <!-- <span t-set="name" t-value="activity_id.name"/> -->
<tr t-foreach="o.member_id" t-as="t"> <td>
<xpath expr="//strong" position="replace"> <h1> tttttttt<span t-esc="activity_id" /></h1>
<span t-field="t.name" />
<!-- <h1> tttttttt<span t-set="state" t-value="activity_registration_ids.state" /></h1> -->
</td>
</xpath> </xpath>
</tr>
</table>
</t>
</template> </template>
</odoo> </odoo>

View File

@ -109,7 +109,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<td class="col-xs-6"> <td class="col-xs-6">
<span t-field="t.activity_id.date_start" /><br></br> <span t-field="t.activity_id.date_start" /><br></br>
</td> </td>
<td class="col-xs-6"> <td id="place" class="col-xs-6">
<span t-field="t.activity_id.date_stop" /><br></br> <span t-field="t.activity_id.date_stop" /><br></br>
</td> </td>
</tr> </tr>