Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
6084 Lượt xem

When I go to Sales->Customers and select the list view, the only Print options are Customer Ledger, Labels, and Due Payments. Am I missing something here? I don't want to have to go through the whole Export process just to print a list of my customers.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

hi, you can print only customer names.for that you can do the following steps:

create two mxl files named "partner_address.xml" and "res_partner_report.xml"

1.partner_address.xml

<?xml version="1.0" encoding="ISO-8859-1"?>
<addresses>
    <address type="fields" name="name">
        <company-name type="field" name="name"/>
    </address>
</addresses>

put it in the path "your_module/report/partner_address.xml"

2.res_partner_report.xml

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <report id="res_partner_address_report1" model="res.partner" name="res.partner.name" string="Partner name" xml="your_module/report/partner_address.xml"/>
    </data>
</openerp>

put it in the path "your_module/res_partner_report.xml" and add this in the __openerp.py file.

 

upgrade the module and print it in the customer

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Bruce

You don't have this kind of report with official source code.

I think this addon will help you http://www.zbeanztech.com/sites/default/files/web_printscreen_zb_16_jan.zip

You'll able to print any tree view.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
8775
1
thg 5 25
1073
0
thg 1 24
1766
1
thg 2 22
23910
5
thg 12 21
16748