now i want to add days in this date meansmy invoice date is 10/01/2015 and my pament term days is 15 so i want to add 15 days in date in report.xml file through qweb directives so output is 10/16/2015 (10/01/2015(mm/dd/yyyy) + 15days = 10/16/2015)

but it gives following error
""'str' object has no attribute 'strptime'" while evaluating
"o.date_invoice.strptime('%Y-%m-%d %H:%M:%S')"" while evaluating
"translate_doc(doc_id, doc_model, 'partner_id.lang', 'account.report_without_prices_document')"

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just
use the commenting tool. Please remember that you can always revise your answers
- no need to answer the same question twice. Also, please don't forget to vote
- it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines