How does one use the store parameter of function fields?
问题 I've tried reading the docs, but it's a bit confusing. Also, does store work with any other field types? 回答1: To answer the second question first: The related and sparse fields are both subclasses of function so store may/should work with them, but I have not tried. The idea behind the store parameter is to tell OpenERP if it is okay to remember and save the results of calling the function in order to avoid calling it again. For how it works, let's look at the following example: 'order_status