Odoo Help


How to know the calling method within another called method

Tarek Mohamed Ibrahim
on 4/28/15, 10:40 AM 553 views

I'm in purchase_order class in the write method. When paying this PO invoice, the method invoice_done is called to update the state of the PO to 'approved', I need to know in the 'write' method that I was called from 'invoice_done' mehtod, how to know this.

Thx for help

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.


Odoo Training Center

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

Test it now

Question tools

1 follower(s)


Asked: 4/28/15, 10:40 AM
Seen: 553 times
Last updated: 4/28/15, 10:40 AM