field available cannot be a stored field.

This commit is contained in:
jbeficent
2016-11-07 16:22:45 +01:00
committed by Jordi Ballester Alomar
parent e2ba0eebe4
commit 4e9cde50d4

View File

@@ -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)