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.

1

What are the different methods for calling a function?

By
Mathews Jose
on 2/12/15, 12:53 AM 288 views

Hai,

I  need to exetute a funtion when I click a button. Also I like to know what are the different methods for invoking the funtion written in the model.

 

3

Vasanth

--Vasanth--
3458
| 5 3 8
Pondicherry, India
--Vasanth--
Vasanth
On 2/12/15, 1:56 AM

a function can be called by the following methods:

1. <button name="function_name" >

2. _defaults

3. def default_get()

4. fields.function(your_function)

5. super(your)function,self)

6.onchange()

 

 

Usefull

aci aisha
on 2/12/15, 3:24 AM

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: 2/12/15, 12:53 AM
Seen: 288 times
Last updated: 3/16/15, 8:10 AM