Odoo Help


Access sales order from picking report

on 11/13/14, 10:43 AM 846 views

Hello together,

I want customize the Picking report (report_picking) in odoo 8 (qWeb). How I can access the sales Order from the picking report.

For Example if the VAT field of a customer must be accessed from a report we can write

  • o.partner_id.vat, when the partner_id is avaiable in the current report.

If I call o.origin.client_order_ref I get the following error message after call the picking.

Odoo Client Fehler

SyntaxError: JSON.parse: unexpected end of data


Is there a way to access the sales order.

Best regards


On 11/15/14, 5:38 PM

Origin is just a text field.

Use the sale_id field instead => o.sale_id.client_order_ref is what you want.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/13/14, 10:43 AM
Seen: 846 times
Last updated: 3/16/15, 8:10 AM