Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
7301 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
bře 15
5465
1
čvn 24
2888
1
lis 22
3188
3
lis 21
25800
1
srp 21
3489