跳至內容
選單
此問題已被標幟
1 回覆
5530 瀏覽次數

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.

頭像
捨棄
最佳答案

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')]
頭像
捨棄

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

相關帖文 回覆 瀏覽次數 活動
2
3月 15
6698
0
3月 15
4684
3
3月 25
2701
0
2月 24
1339
2
1月 23
2978