Using Odoo 10 Community Mass Mail. I wish to insert the partners object id into the email and pad it with Zeros up to 8.
I understand I can use mako commands such as ${object.id} to display this field and this does indeed work.
Being largely unfamiliar with python and mako, I've been unable to work out what to do and what syntax to use to produce and eight digit number in the email after hours of internet research, trial and error.
Example ID = 5535, I wish to display 00005536
Can any one provide the solution with context so I can implement what I hope is a very easy thing to do. I'd very much appreciate your help.
Thanks