Odoo Help

0

0
1 Answer
0
Avatar

Niyas Raphy India

--Niyas Raphy--
25638
| 7 7 11
Wayanad, Kerala, India
--Niyas Raphy--

Odoo Techno Functionalist

Feel free to connect :  niyasraphyk@gmail.com

Twitter:https://twitter.com/niyasraphy
LinkedIn: https://www.linkedin.com/in/niyasraphy/
FB:https://www.facebook.com/niyasraphy123
Whatsapp : +917736136763
Happy to help :)

Niyas Raphy India
8/10/19, 1:42 AM

Hi,

You can make call like this,

self.env['model_name'].method_name() .

Example:

self.env['account.journal'].action_boleta_venta1()


If you are developing a module I will suggest you have a look at the odoo code and see how similar things are done inside the odoo itself and refer those things.

Thanks

1 Comment
giancarlo Peru
8/10/19, 1:55 AM

I used this code, I think it's the same, and it didn't address me. I will check it again. Thank you.

#journal=self.env['account.journal']

#journal.action_boleta_venta1()

Ask a Question
Writer
Tag
Keep Informed
1 follower(s)
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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now