Hey everybody
could you plz tell me, how to attach report in attachment when it is generated via button in OpenERP 6.1
PLz be sure , i don't want for V7
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hey everybody
could you plz tell me, how to attach report in attachment when it is generated via button in OpenERP 6.1
PLz be sure , i don't want for V7
Go to
Settings -> Customization -> Low Level Objects -> Actions -> Reports
Open the report you want attach. Go to Save As Attachment Prefix and set a string (a python expression is accepted too).
Now when you print a report it will be attached to the record.
Thi is not an answer of my Q.............:(((
?? You want an automatica attachment when you generate a report. This is the way.
i appreciate your answer , but i want in code , i know we can do this via adding attachment=filename
and attachment=True
parameter in report action record in XML
My answer is based on information in your question. Extend your question with other information
i understand
Is these working in OpenERP version 7?
Can you help me writing expression for a partner ledger webkit report
Please, open another post to receive help on this. If the answer is the correct one close this answer because it's 7 month old.
Hi! can anyone help me in writing a python expression for partner_ledger_webkit report? It has a many2many field partner_ids and i want to use the partner name as attachment prefix. I worked around a lot with so many expressions but i don't understand how to write for a many2many, please help its really very urgent.
I want to use partner's name from 'partner_ids' field which is a 'many2many' field in the 'partner.ledger.webkit' model, in the attachment prefix for the report 'Partner Ledger Report' example 'object.company_id.name.pdf'. Please help!
First you need to install document management addon. Then you just need to give your report an attachment value if it has none.
You can do that here:
settings/technical/actions/reports
search your report
add i.e.
'%s.pdf'%object.name
as attachment prefix.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 8 16
|
9422 | ||
|
6
thg 9 21
|
17165 | ||
|
1
thg 6 16
|
4199 | ||
|
0
thg 4 15
|
3726 | ||
|
0
thg 10 24
|
1687 |
Hi! can anyone help me in writing a python expression for partner_ledger_webkit report? It has a many2many field partner_ids and i want to use the partner name as attachment prefix. I worked around a lot with so many expressions but i don't understand how to write for a many2many, please help its really very urgent.