From 4e9cde50d487c69003a658ce306317927f6dd03d Mon Sep 17 00:00:00 2001 From: jbeficent Date: Mon, 7 Nov 2016 16:22:45 +0100 Subject: [PATCH] field available cannot be a stored field. --- .../models/stock_warehouse_orderpoint.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py b/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py index 755218d51..4b57a4582 100644 --- a/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py +++ b/stock_warehouse_orderpoint_stock_info/models/stock_warehouse_orderpoint.py @@ -44,8 +44,7 @@ class StockWarehouseOrderpoint(models.Model): available = fields.Boolean( string='Is enough product available?', - compute='_compute_product_available', - store=True) + compute='_compute_product_available') product_category = fields.Many2one(string='Product Category', related='product_id.categ_id', store=True)