[IMP] stock: noupdate on stock location
Stock.locations should be in no-update: Limit the impact of recompute fields during the upgrade of stock module. (especially method _compute_product_availability) Limit the impact on migration Method _compute_product_availability is triggered during an upgrade of module and during migrations. This may take a lot of time of big databases closes odoo/odoo#34074 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
<!--
|
||||
Resource: stock.location
|
||||
-->
|
||||
</data>
|
||||
<data noupdate="1">
|
||||
<record id="stock_location_locations" model="stock.location">
|
||||
<field name="name">Physical Locations</field>
|
||||
<field name="usage">view</field>
|
||||
|
||||
Reference in New Issue
Block a user