Odoo Help

10
2 Answers
6
Avatar

Shameem Babu @ iWesabe

--Shameem Babu @ iWesabe--
GLOBAL CREATIVE CONCEPTS TECH CO LTD
http://www.iwesabe.com
1420
| 6 3 7
KHOBAR, Saudi Arabia
--Shameem Babu @ iWesabe--

  

 iWesabe - ODOO ERP IMPLEMENTATION & CUSTOMIZATION SAUDI ARABIA.



For Queries : pks.shameem@gmail.com ,shameem@iwesabe.com

Activities     :    Youtube

                           Stackoverflow 

Experience

           iWesabe                                ◉

           Axon Communications        ❍

           Cybrosys Technologies        ❍


Shameem Babu @ iWesabe
10/31/16, 6:47 AM

Hi Ameera,

Try  widget gauge

For example Create two integer fields  

progress_rate = fields.Integer()
maximum_rate = fields.Integer()

Set widget="gauge" and  max_field is other field

<field name="invoiced_target" widget="gauge" style="width:120px;height:90px;cursor:pointer;" 
options="{'max_field': 'maximum_rate'}">
Progress
</field>


Example Code

<kanban>
    <field name="progress_rate"/> 
    <field name="maximum_rate"/>  
        <templates> 
            <t t-name="kanban-box">
                <div class="oe_kanban_global_click">  
                    <field name="progress_rate" widget="gauge" style="width:120px;height:90px;cursor:pointer;" 
                           options="{'max_field': 'maximum_rate'}"> 
                                   Progress                               
                    </field>                           
                </div>     
             </t>
        </templates>
</kanban>



4 Comments
Ameera PP
10/31/16, 10:30 AM

Thanks Shameem

Nilmar Shereef
11/8/16, 5:55 AM

Good Shameem.. You have an up vote

Bonnet Denis
11/28/16, 9:15 AM

can you tell us on wich ODOO version this widget is usable? thx

GLOBAL CREATIVE CONCEPTS TECH CO LTD, Shameem Babu @ iWesabe
11/29/16, 2:54 AM

It is working in odoo 8 and odoo 9

2
Avatar

Hilar AK

--Hilar AK--
--Hilar AK--
  Blog:-
        https://hilarlive.wordpress.com/
  StackOverflow:
        http://stackoverflow.com/users/7561347/burmese-pythis

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Experienced Odoo developer, Functional Consultant.



Hilar AK
10/31/16, 7:31 AM

+1 Shameem

Ask a Question
Writer
Keep Informed
2 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