This question has been flagged

Hi All,

I have created the new model withing my custom module. It has computed field call as product_qoh which calculated from qty_available that used on product.template model. Also it is a store = True field. So my issue is I have over 30K products on my database and when I going to upgrade my new custom module it's getting more time and lock the database tables and cannot assimilate the time for upgrade process. Anyone has any idea hove to avoid this issue?

Thnaks!

Avatar
Discard
Best Answer

You can avoid it by store the data manually direct in the database

Avatar
Discard