我想做一个分割的字段,但为什么结果总是0.00?
def _get_interest_top(self):
for line in self:
line.interest_top = 6/12
interest_top = fields.Float(compute='_get_interest_top',string='Interest TOP')结果应该是0.5,对吗?
发布于 2022-07-12 07:08:43
https://stackoverflow.com/questions/72948191
复制相似问题