odoo四舍五入:(float_round)
float_round(value, precision_digits=None, precision_rounding=None, rounding_method='HALF-UP'):
float value:需舍入值
int precision_digits:精度,保留多少位
float precision_rounding:精度,如0.00则保留到小数点后两位
rounding_method:摄入类型:'HALF-UP’四舍五入,'UP’全入,'DOWN’全舍
super
super(当前类名, self).function(default)
function:父类函数
default:传入的新默认值