Skip to Content
मेन्यू
This question has been flagged
1 Reply
7415 Views

Hello everyone,

Do you know how to get the month (or the month and the year) of a date type field in xml ?

I would like to compare it like I compare the day :

<field name="domain">[('date_field','=', time.strftime('%Y-%m-%d'))]</field>

PS : sorry for my english :s

Avatar
Discard
Best Answer

Hi There is nothing like this that you can select via month in a date field but you can make a dynamic domain

for that case you can split month and check it plz be sure dynamic domain are work on on change

thank
Sandeep

Avatar
Discard
Related Posts Replies Views Activity
2
मार्च 15
5598
1
जून 24
3112
1
नव॰ 22
3320
3
नव॰ 21
25989
1
अग॰ 21
3600