forked from Yaltik/golem
/
This commit is contained in:
parent
1a71c21e5b
commit
0228a3535b
@ -34,14 +34,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
'display_currency': o.currency_id}"/>
|
'display_currency': o.currency_id}"/>
|
||||||
</td>
|
</td>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
<xpath expr="//tr[@id='activity_inherit_price_sum']" position="before">
|
<xpath expr="//tr[@id='activity_inherit_price_sum']" position="before">
|
||||||
<t t-set="price_sum" t-value="0"/>
|
<t t-set="price_sum" t-value="0"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//tr[@id='activity_inherit_sum']" position="inside">
|
<xpath expr="//tr[@id='activity_inherit_sum']" position="inside">
|
||||||
|
|
||||||
<t t-set="price_sum" t-value="price_sum + t.activity_price"/>
|
<t t-set="price_sum" t-value="price_sum + t.activity_price"/>
|
||||||
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//tfoot[@id='activity_inherit_total']" position="inside">
|
<xpath expr="//tfoot[@id='activity_inherit_total']" position="inside">
|
||||||
<tr>
|
<tr>
|
||||||
@ -53,6 +50,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</tr>
|
</tr>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
|
<xpath expr="//table[@id='table_activity_ref']" position="after">
|
||||||
|
<table class="table table-striped">
|
||||||
|
<t t-foreach="docs" t-as="o">
|
||||||
|
<tr t-foreach="o.activity_registration_ids" t-as="l">
|
||||||
|
<td>
|
||||||
|
<spam t-field="l.invoice_id.number" />
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</t>
|
||||||
|
</table>
|
||||||
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -79,7 +79,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</tr>
|
</tr>
|
||||||
</t>
|
</t>
|
||||||
</table>
|
</table>
|
||||||
<table class="table table-striped">
|
<table id="table_activity_ref" class="table table-striped">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Activity</th>
|
<th>Activity</th>
|
||||||
<th>Animator</th>
|
<th>Animator</th>
|
||||||
@ -114,7 +114,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</td>
|
</td>
|
||||||
<tr id="activity_inherit_sum"></tr>
|
<tr id="activity_inherit_sum"></tr>
|
||||||
</tr>
|
</tr>
|
||||||
<tfoot style="text-align:right" id="activity_inherit_total"></tfoot>
|
<tfoot id="activity_inherit_total"></tfoot>
|
||||||
|
|
||||||
</t>
|
</t>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
Reference in New Issue
Block a user