Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3832 Näkymät

Hello,

The online version of Odoo is not printing properly. The stub area of the check is justified too far to the right, and the main check area does not print the vendor address. How do I fix this?

I have isolated the view ckus_check which shows:

<?xml version="1.0"?><t t-name="l10n_us_check_printing.ckus_check"> <div class="ckus_check"> <div class="sequence_number" t-if="page['sequence_number']" t-esc="page['sequence_number']"/> <div class="ckus_date" t-esc="formatLang(page['payment_date'], date=True)"/> <div class="ckus_payee_name" t-esc="page['partner_name']"/> <div class="ckus_amount"> <t t-if="isinstance(page['amount'], float)"><t t-esc="formatLang(page['amount'])"/></t> <t t-if="isinstance(page['amount'], str)"><t t-esc="page['amount']"/></t> </div> <div class="ckus_amount_in_word" t-esc="page['amount_in_word']"/> <div class="ckus_memo" t-esc="page['memo']"/> </div></t>

However, nothing I do changes the printout it makes. For instance I have changed the line:

<div class="sequence_number" t-if="page['sequence_number']" t-esc="page['sequence_number']"/>

to:

<div class="sequence_number">Test</div>

and nothing changed. I have also looked for how I might edit the css files, and cannot find how to get at them. Can anyone help?

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
syysk. 17
9299
0
lokak. 24
2295
0
elok. 24
2037
0
tammik. 24
2455
1
marrask. 23
2240