mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
field available cannot be a stored field.
This commit is contained in:
committed by
Jordi Ballester Alomar
parent
e2ba0eebe4
commit
4e9cde50d4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user