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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
how to remove the brackets