How can I filter all invoices that are due within the next 7 days? I tried the following code and it does not work out:
[['date_due', '<=', time.strftime('%Y-%m-%d %H:%M:%S',time.gmtime(time.time()+7243600))]]
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
How can I filter all invoices that are due within the next 7 days? I tried the following code and it does not work out:
[['date_due', '<=', time.strftime('%Y-%m-%d %H:%M:%S',time.gmtime(time.time()+7243600))]]
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
ene 17
|
4388 | ||
|
0
jul 25
|
885 | ||
change between 2 Invoice formats
Resuelto
|
|
1
jul 25
|
657 | |
|
2
jul 25
|
777 | ||
|
1
jul 25
|
1843 |