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

Dynamique indicators

By
soufiane chakroun
on 12/3/13, 2:05 PM 590 views

Hi commuity,

I want to calculate dynamically the number of rows in a tree :

For example, i have an object "book" wich contains a OneToMany relation with an object "page". In the edit form of a "book" object i can add or remove "page" objects in a tree. I want to change in real time an indicator displayed in the same form wich is the number of pages in the tree. It probably has something to do with the javascript wich handles entries in a tree (adding ,removing ). I'm hoping that someone has an idea about how to do that.

Thanks.

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: 12/3/13, 2:05 PM
Seen: 590 times
Last updated: 3/16/15, 8:10 AM