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
5520 Zobrazení

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

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
2
bře 15
6687
0
bře 15
4677
3
bře 25
2700
0
úno 24
1338
2
led 23
2978