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

How to create a sever action on website ?

By
Jaydeep Barot (jar)
on 10/22/15, 3:28 AM 339 views

How to create a server action on website ?

"Available on the Website" field value are true on server action.

Can anybody help me on server actions ?


0
Ronak Baxi (rba)
On 6/8/16, 8:16 AM

Hello @Jar,

You can create server action on website side. To do you need to do following things.

- Create server action and check "Available on the Website"

- Then you will find new text field "Website Path" so enter your action name you want to perform like "extra_info"

- Now save the record it will give you value in "Website URL" like "<hostname>/website/action/extra_info"

Now here website/action/extra_info is your controller so what ever you need to perform python in server action it will come under this controller so that you can use it in for ex. javascript.


Let me know if you need more info

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: 10/22/15, 3:28 AM
Seen: 339 times
Last updated: 6/8/16, 8:16 AM