跳至内容
菜单
此问题已终结
1 回复
10750 查看

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!

形象
丢弃
最佳答案

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

   

形象
丢弃
编写者

Thanks, @Jainesh Shah

Happy to help you :)

相关帖文 回复 查看 活动
2
8月 21
5829
1
7月 25
1399
1
7月 25
465
2
7月 25
631
1
7月 25
1706