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
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
|
1
jun. 18
|
4354 | ||
|
|
1
okt. 25
|
11582 | ||
|
|
0
mei 25
|
1414 | ||
|
|
1
apr. 25
|
1525 | ||
|
|
2
jul. 24
|
3279 |
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.