Odoo Help


This community 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.


POS invoice_id value - Odoo 8

Alejandro Perez Cosio
on 3/20/15, 10:31 AM 616 views

Dear all,

I'm trying to get the referenced invoice object at: point_of_sale (module) > models.js (file) > export_for_printing (function) > invoice_id (attribute):

there is the line for invoice_id, but with null value and a //TODO label:

>> "invoice_id: null, //TODO"

I was thinking in a function named getInvoiceId() to replace that null value with the invoice object, but I don't know how to implement it..

I really need this reference but my javascript and backbone abilities are not enough to do this..

That's why I would want to ask you for your help.

I will really appreciate any help you could provide.

Best regards

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 3/20/15, 10:31 AM
Seen: 616 times
Last updated: 3/24/15, 9:30 AM