odoo/odoo#235931

Created by JavaScript, Saurabh Choraria (sauc)
Merged at 81d79dd33b785c5e112ed038d5011f9b2f195fba

Statuses:

Linked pull requests
label
odoo-dev:master-statinfo-widget-options-imp-sauc
head
b6b1fab56dac4fbd9fcd78a1743c1410a5c1b0a2
merged
2 weeks ago by JavaScript, Aaron Bohy (aab)
odoo/odoo odoo/documentation
master #235931 #15366

[IMP] web,*: support hide_trailing_zeros option in statinfo widget

*=purchase,sale,stock

Previously, unnecessary trailing zeros were shown in the
statinfo widget and there was no option to hide them.

After this commit, the widget supports the 'hide_trailing_zeros'
option to hide those zeros.

Also added this option in statinfo fields of product views.

Documentation PR: odoo/documentation#15366

task-5238438


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr