Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
ODOO 新手 Graph 怎么求平均值 ,它默认是求和的
定义字段的时候用group_operator='avg'
foo = fields.Float('Foo', group_operator='avg')
可以了,感谢大神!
算平均值的数据是谁 数据库已有的foo吗
@joshua 在odoo10里的tree这么写 < field name="foo" avg="foo"/> 不像8里会自动计算列平均值,请问是10里的写法有变化吗