Odoo Help

Welcome!

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.

0

Point of sale (Export as JSON)

By
Grover Menacho
on 9/24/13, 7:08 PM 826 views

Dear community.

I'm having some problems when I'm trying to inherit exportasJSON.

I'm extending module.Order, this worked for almost every method but this is not working.

I've tried:

this._super.apply(this,arguments);

and:

this._super();

But it displays some errors:

Uncaught TypeError: Cannot call method 'apply' of undefined

and

Object [object Object] has no method '_super'

Someone know why this is not working? I'm trying to add some variables to return when it calls exportAsJSON.

Thanks

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

0 follower(s)

Stats

Asked: 9/24/13, 7:08 PM
Seen: 826 times
Last updated: 3/16/15, 8:10 AM