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

New API style for fields_view_get?

By
Jon Wong
on 9/10/15, 10:32 AM 1,355 views

Is it possible? How do I do it?

1
Kinner Vachhani
On 9/10/15, 11:10 AM

Hi,

It is possible to do. 

@api.model
def fields_view_get(self, view_id=None, view_type=False, toolbar=False,
submenu=False):

You can refer the new api implementation at account/account_invoice.py:319


Hope this helps.

 

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)

Stats

Asked: 9/10/15, 10:32 AM
Seen: 1355 times
Last updated: 9/10/15, 12:10 PM