Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
6556 Zobrazení

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
Zrušit

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

Autor

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

Nejlepší odpověď

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
Zrušit
Autor

Thanks! That did the trick.

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 22
2884
1
dub 19
3969
0
bře 15
3860
3
bře 22
2925
2
led 17
8363