Hello there,
For this point of sale transaction, we return an amount of 0,02 $ to customer because he paid with 115 $.
According to you, could I display this amount of 0,02 $ on the invoice?
What should be my approach?
Thanks for your tips.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello there,
For this point of sale transaction, we return an amount of 0,02 $ to customer because he paid with 115 $.
According to you, could I display this amount of 0,02 $ on the invoice?
What should be my approach?
Thanks for your tips.
Here is our answer.
See at the bottom of this invoice :
Here is the code to put in the file report_invoice_document_custom.xml :
<span t-if="o.payment_ids">
<span t-foreach="o.payment_ids" t-as="l">
<p t-if="l.credit != 0.00">
<strong>Paiment du client : <![CDATA[ ]]></strong>
<span t-field="l.credit" t-field-options="{"widget": "monetary", "display_currency": "o.currency_id"}"/>
</p>
<p t-if="l.debit != 0.00">
<strong>Argent rendu au client : <![CDATA[ ]]></strong>
<span t-field="l.debit" t-field-options="{"widget": "monetary", "display_currency": "o.currency_id"}"/>
</p>
</span>
</span>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Oct 20
|
4642 | ||
|
1
Mar 15
|
2627 | ||
|
1
Jun 21
|
1111 | ||
|
0
Jun 17
|
4270 | ||
|
0
Mar 15
|
4841 |