Skip to Content
Menu
This question has been flagged
1 Atsakyti
7410 Rodiniai

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

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
kov. 15
5595
1
birž. 24
3109
1
lapkr. 22
3315
3
lapkr. 21
25988
1
rugp. 21
3596