This question has been flagged
1 Reply
4479 Views

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
Discard
Best Answer

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
Discard

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