Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am working with qweb to print a report.
So, i have a field in which i get the date of the day:
Here is my python:
and the function is:
def get_date_print(self, context=None):
res_list = datetime.now().strftime('%d-%m-%Y')
in the qweb i have this:
<p style="float:left;text-align: left;">
<strong>Date de Jour:
the problem is that i get this error:
get_date_print: object is not callable.
How can i please resolve this problem.
Can anyone help.
Thanks a lot in advance.
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 platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 6/29/16, 4:10 AM|
|Seen: 341 times|
|Last updated: 6/29/16, 9:27 AM|