Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
6052 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jul 25
8728
1
may 25
1027
0
ene 24
1710
1
feb 22
23858
5
dic 21
16697