Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
10797 Prikazi

Hi,

Hope you all are doing well,

In the Purchase order, I want to add a progress bar which will show the percentage of purchase invoice paid. The progress should be directly proportional to the amount of purchase invoice paid.

 for eg. If the purchase invoice is $100 and the amount paid is $50, then the progress bar should automatically show half-filled in odoo12.

Could anyone help me achieve this?

Thanks in advance!

Avatar
Opusti
Best Answer

Hello Pallavi,


Take a compute field which calculate difference between purchase amount total and amount due .
then in form view.
<field name="progress" widget="progressbar"/>
And also you take reference from hr_timesheet

Please check the link :- 

https://prnt.sc/qlo2x7

Regards,




Email:   odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Opusti
Avtor

Thanks, @Jainesh Shah

Happy to help you :)

Related Posts Odgovori Prikazi Aktivnost
2
avg. 21
5892
1
jul. 25
1449
1
jul. 25
550
2
jul. 25
700
1
jul. 25
1753