How can I change the way that VAT number is show using QWeb in Odoo -
I have a VAT client number showing the following code using report_invoice_document :
& lt; Span t-field = "o.partner_id.vat" /> However, the visible number is CO8000000001 and I want only numbers without letters and if possible it is formatted 800.000.000-1.
I was trying to adapt the field to get the documentation about T-field-option, but I had no luck with it.
Thank you.
Try:
& lt; Span t-esc = "o.partner_id.vat [2:]" /> t-esc supports the Python code.
Comments
Post a Comment