تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
10846 أدوات العرض

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
أغسطس 21
5974
1
يوليو 25
1542
1
يوليو 25
713
2
يوليو 25
813
1
يوليو 25
1888