Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5517 Vistas

I have configured the knowledge managenet module in OpenERP 6.0.4 to use FTP. I create a folder per resource for sales orders. So I can see a very long list with all the sales orders when I connect using FTP.

Is there any way to group the sales orders per year? So when I explore the content of the sales order folder I will only see the years and when I open a year I will see only the sales orders of this year.

Thank you.

Avatar
Descartar
Mejor respuesta

I found something that could lead you to the correct answer when trying to do something similar. You will need to create a folder the same way you do to see all of the sales orders, but you will need to filter the results based on the Domain.

This best info I found was "Expressing a search domain (args)" and here is the link(I can't insert links yet)

(doc.openerp.com/v6.0/developer/2_5_Objects_Fields_Methods/methods.html#osv.osv.osv.search)

I am guessing your domain filter will be something like this

[('create_date','>=','some date'),'|',('create_date','<=','some date')]
Avatar
Descartar

Sorry but logic should be and ? than rule should be [('create_date','>=','some date'),('create_date','<=','some date')]

Publicaciones relacionadas Respuestas Vistas Actividad
2
mar 15
6676
0
mar 15
4677
3
mar 25
2700
0
feb 24
1338
2
ene 23
2978