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 differentiate the call for Onchange_event?

By
deep
on 10/16/13, 9:12 AM 650 views

How to differentiate the call for Onchange_event? I mean how will we know whether it is called manually or dynamically?

I'm not sure I follow you. Do you mean the difference between an onchange_event being called from directly editing a field vs. editing a different field that called a different onchange_event modifying it? If that's the case, I don't have any great answers, mainly just arrange onchange_events in a hierarchy so you don't get stuck in an infinite loop of two fields updating each other.

Brett Lehrer
on 10/21/13, 10:56 PM

Actually yes.. tats exactly the case.. i was able to stop it from going into the infinite loop... but not entirely achieved the purpose... i mean now am facing the decimal discrepancy.... working on it.. and anyways thanks for the help :)

deep
on 10/22/13, 3:06 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

0 follower(s)

Stats

Asked: 10/16/13, 9:12 AM
Seen: 650 times
Last updated: 3/16/15, 8:10 AM