Odoo Help


POS invoice_id value - Odoo 8

Alejandro Perez Cosio
on 3/20/15, 10:31 AM 1,185 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

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: 3/20/15, 10:31 AM
Seen: 1185 times
Last updated: 3/24/15, 9:30 AM