Skip to Content
Menú
This question has been flagged
754 Vistes

I am trying to get a signature image on the checks so there is no need for a signature after printing. I believe I have found the "view" to edit ckus_check, but no matter what image I put in there it will not show.

Here is the code for the view:

-----------------

<t t-name="l10n_us_check_printing.ckus_check">

    <div class="ckus_check" style="margin-top:-30px;">

        <t t-if="page['state'] == 'cancelled'">

            <div class="o-watermark">VOID</div>

        </t>

        <div class="sequence_number" t-if="page['sequence_number'] and page['manual_sequencing']" t-out="page['sequence_number']"/>

        <div class="ckus_date" t-out="page['date']"/>

        <div class="ckus_payee_name" t-out="page['partner_name']"/>

        <div class="ckus_amount">

            <t t-out="page['amount'].replace(o.currency_id.symbol, '')"/>

        </div>

        <div class="ckus_amount_in_word" t-out="page['amount_in_word']"/>

        <div class="ckus_payee_addr" t-out="page['partner_id']" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}"/>

        <div class="ckus_memo" t-out="page['memo']"/>

    </div>

    <img src="url_to_image" />(Odoo would not let me post a link)

</t>

---------------

Right now, I am just trying to get an image to show. Once that happens, I will fix the code to appear where I want it to.



Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
d’oct. 24
595
0
d’oct. 24
830
1
de juny 24
1436
0
de des. 23
1227
4
de maig 25
2550