Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
6060 Visualizzazioni

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.

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
lug 25
8744
1
mag 25
1038
0
gen 24
1720
1
feb 22
23873
5
dic 21
16715