İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
7455 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Mar 15
5711
1
Haz 24
3223
1
Kas 22
3402
3
Kas 21
26100
1
Ağu 21
3651