Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7374 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
mar 15
5546
1
giu 24
3017
1
nov 22
3256
3
nov 21
25916
1
ago 21
3558