Commit b07c8ee3 authored by santi's avatar santi
Browse files

Ahow the prefered payment based in the partner and not in the user

parent 55017d2c
......@@ -5,35 +5,23 @@
<xpath expr="//div[@class='col-xs-4 pull-right']" position="before">
<div class="pull-left">
<h4>Payment instructions:</h4>
<t t-if="o.user_id.partner_id.prefered_payment == 'betabank'">
<t t-if="o.partner_id.prefered_payment == 'betabank'">
<p>Name: Betacoop eG<br/>
IBAN: DE41 4306 0967 1152 3659 00<br/>
Bank: GLS Gemeinschaftsbank eG<br/>
Reference: <span t-field="o.user_id.partner_id.betabank_id"/>/<span t-field="o.number"/></p>
<p>Please, is very important you write the reference in the bank transfer. Thank you for your attention.</p>
<t t-if="o.user_id.partner_id.prefered_payment == 'boc'">
<t t-if="o.partner_id.prefered_payment == 'boc'">
<p>Name: Bank of the Commons<br/>
IBAN: IT99 9999 9999 9999 9999 000<br/>
BIC: BOTC<br/>
Bank: Bank of the Commons<br/>
Reference: <span t-field="o.user_id.partner_id.boc_id"/>/<span t-field="o.number"/></p>
<t t-if="o.user_id.partner_id.prefered_payment == 'spark'">
<p>Send the amount to Spark <span t-field="o.user_id.partner_id.spark_id"/></p>
<t t-if="o.user_id.partner_id.prefered_payment == 'faircoin'">
<p>Send the amount in FairCoin to <span t-field="o.user_id.partner_id.faircoin_address"/></p>
<xpath expr="//div/div[@class='col-xs-5 col-xs-offset-7']" position="inside">
<div class="pull-left" t-if="o.partner_id.vat">TIN: <span t-field="o.partner_id.vat"/></div>
<template id="report_external_layout_extends" inherit_id="report.external_layout_header">
<xpath expr="//div/div/div[@t-field='company.partner_id']" position="before">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment