Skip to Content
Menu
This question has been flagged
1 Reply
1295 Views

Hey Everyone!
So ive managed to change our invoice template so it says "Tax Invoice" as this is whats required by law here but id like to have a rate of exchange that is put on the invoice when a quote goes to a invoice. ive messed about quite a bit but i just cant get it to work.

Id like to have a float value on a quote that whoever makes the quote can set to a exchange value just before making the invoice so its saved in the db. the value is only required once per invoice so it can be at the top or bottom somewhere just not on every line of the products ( i managed that... lol)


Any help will be appreciated

cheers!

W

Avatar
Discard
Author

ok great let me try that!

Best Answer

Hi,

If you already have the float field created in the model, you can inherit the view and add the field in the view using xpath and add it where you want it.

https://www.odoo.com/documentation/15.0/developer/reference/backend/views.html#inheritance-specs

Avatar
Discard