hi in odoo xls 11 , date is printing like this
date_str = "% s To% s"% (date_from, date_to)| ('2020-11-11',) To ('2021-04-29',) |
sheet.write_merge (0, 0, 0, 5, 'PO client:' + date_str, style1)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
hi in odoo xls 11 , date is printing like this
date_str = "% s To% s"% (date_from, date_to)| ('2020-11-11',) To ('2021-04-29',) |
Hi,
Its simple, you can try this,
output = str(date_str).replace("(", "").replace(")", "").replace("'", "").replace(",", "") and then print the output
sheet.write_merge (0, 0, 0, 5, 'PO client:' + output, style1)
Hope it helps,
Thanks
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
how to remove the brackets