Hi,
What I need is,I need no of weeks in a month,on the basis of that I need to find the no of submitted timesheets.
I need to display the number of submitted timesheets of the month
Thanks in advance
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
What I need is,I need no of weeks in a month,on the basis of that I need to find the no of submitted timesheets.
I need to display the number of submitted timesheets of the month
Thanks in advance
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 18
|
4314 | ||
|
1
Oct 25
|
11512 | ||
|
0
May 25
|
1382 | ||
|
1
Apr 25
|
1495 | ||
|
2
Jul 24
|
3229 |
Try this one
import calendar
calendar.month(year, month).count('\n') - 2
I try this and its work correctly.
Can you give some idea for how to split month and year from current date field.