Hello,
This my code :
body = 'test : ',str(self.zip)
print body
when the code is executed i have :
('test : ', '7000')
How can i do for just have this :
test : 7000
Thanks,
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
This my code :
body = 'test : ',str(self.zip)
print body
when the code is executed i have :
('test : ', '7000')
How can i do for just have this :
test : 7000
Thanks,
like this:
body = 'test : '+str(self.zip)
or this:
body = 'test : %s' % str(self.zip)
or this:
body = ' '.join(['test : ',str(self.zip)])
or another not listed way that work
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
May 23
|
999 | ||
|
2
Mar 15
|
8850 | ||
|
4
Sep 24
|
388 | ||
|
2
Sep 24
|
217 | ||
|
4
Aug 24
|
70760 |