Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5535 มุมมอง

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')]

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มี.ค. 15
6698
0
มี.ค. 15
4685
3
มี.ค. 25
2702
0
ก.พ. 24
1339
2
ม.ค. 23
2980