Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
6648 Weergaven

Hi,

I'd like to know how i can automatically add a VAT exemption note, depending on the customer's fiscal position.

I've tried using the comment field and fill it in the product_id_change method (as my prices depends also of the fiscal position) but the value i put in the res dictionary is lost when leaving the event.

Is there any other way to achieve this ?

Thank you for your help.


Mikael

Avatar
Annuleer

Model fiscal position has field "note". Where problem?

Auteur

Hello. I'd like to have the note displayed on the invoice (that's why i try to use the note field in the invoice model). If i put something in the fiscal position's note will it be copied in the invoice ? Thanks

Beste antwoord

Try this in template report_invoice:

            <p t-if="o.fiscal_position.note">
<strong>Fiscal Position Remark:</strong>
<span t-field="o.fiscal_position.note"/>
</p>

PS. In default report template the 'Fiscal Position Remark:' is defined.

Avatar
Annuleer
Auteur

Thanks! That did the trick.

Beste antwoord

This is now standard in newer versions. However the legal notes field where to set such text is not easy to spot in the form of fiscal positions. It is just under the mapping table.


Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
apr. 22
2969
1
apr. 19
4019
0
mrt. 15
3942
3
mrt. 22
3001
2
jan. 17
8426