xmlrpc report printing example confuses model and service name

Bug #919686 reported by Alan Bell
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenERP Documentation
New
Undecided
Unassigned

Bug Description

http://doc.openerp.com/v6.0/developer/6_22_XML-RPC_web_services/index.html

the report service name is not always the same as the model name, these should be separated in the documentation so you can see how to call for the different reports on an object

model = 'account.invoice'
report='account.invoice.layout'
id_report = printsock.report(dbname, uid, pwd, report, ids, {'model': model, 'id': ids[0], 'report_type':'pdf'})

Revision history for this message
Nicola Riolini - Micronaet (nicolariolini) wrote :

tip: obviously the name of the report is in ir_act_report_xml table in report_name column ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.