Odoo 8 - Compute Field with “store=True” can't store in database

喜欢而已 提交于 2019-12-02 05:17:43
Daniel Reis

The store=True works. It may be that you added the computation to the field after it was created on the database. In this case the initial computation is not triggered.

A work around is to drop the column from the table and then upgrade your module. When the field is recreated the initial values should be computed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!