تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
9136 أدوات العرض

Hello all,

So far, each time I put a supplier invoice in OpenERP, I put as well the PDF I received from this supplier in attached file. (using the module "Document")

What I would like to have is a repertory with all these PDFs, and if possible, changing their name by the Invoice number openerp gave to this bill.

Any idea ?

Thanks in advance

الصورة الرمزية
إهمال

This would increase productivity! Definitely

أفضل إجابة

View all attachments in a list via Settings -> Technical -> Low Level Objects -> Attachments

If you don't want to rename manually, you will need to do it via custom code.

Note that you can also attach files via messages or notes underneath the OpenERP document.

الصورة الرمزية
إهمال
الكاتب

Thanks for the answer !

I am now developing a python script using XMLRPC API that creates a big zip file with all the pdf in it and changing their name with the same as in openerp. And it works !! :)

I still have some problem with the expenses (hr.expense.expense) but, as soon as I resolve it, i'll publish the code.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يوليو 25
1060
1
أغسطس 25
1754
1
يونيو 24
2786
2
فبراير 24
2131
0
نوفمبر 22
4409