I used a Percent(%) in form view but when I used in Groupby Symbol is not display.
Anyone can help here?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I used a Percent(%) in form view but when I used in Groupby Symbol is not display.
Anyone can help here?
Hello Nikul,
You can add character function field with and store=True, which returns the string with percentage sign appends, like this :
@api.depends('basic')
def _compute_percent(self):
for rec in self:
rec.per_net_amt = str(rec.basic) + " %"
per_net_amt = fields.Char(compute='_compute_percent', string="percent field", store=True)
basic = fields.Float("Basic Amount")
Hope it will help you.
Thanks
Hello Nikul
Check this app store module will help you https://apps.odoo.com/apps/modules/12.0/percent_field/
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
How can I style Odoo Form?
تم الحل
|
3
سبتمبر 24
|
5292 | ||
|
2
سبتمبر 23
|
10754 | |||
|
1
أبريل 22
|
4899 | |||
|
0
أكتوبر 21
|
3266 | |||
|
0
أغسطس 19
|
2724 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
What did you tried so far?