Skip to content

Commit

Permalink
[ADD]stock_ux: adding store = true for filter
Browse files Browse the repository at this point in the history
closes #416

X-original-commit: 17c4024
Signed-off-by: Nicolas Mac Rouillon <nmr@adhoc.com.ar>
  • Loading branch information
jcadhoc committed Nov 17, 2023
1 parent e3bdf60 commit c3c2236
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stock_ux/models/stock_warehouse_orderpoint.py
Expand Up @@ -15,26 +15,30 @@ class StockWarehouseOrderpoint(models.Model):
help="Desvío estandar de las cantidades entregas a clientes en los "
"últimos 120 días.",
digits='Product Unit of Measure',
store=True,
)
warehouse_rotation_stdev = fields.Float(
compute='_compute_rotation',
help="Desvío estandar de las cantidades entregas desde este almacen"
" a clientes en los últimos 120 días.",
digits='Product Unit of Measure',
store=True,
)
rotation = fields.Float(
help='Cantidades entregadas a clientes en los '
'últimos 120 días dividido por 4 para mensualizar '
'(restadas devoluciones).',
compute='_compute_rotation',
digits='Product Unit of Measure',
store=True,
)
warehouse_rotation = fields.Float(
help='Cantidades entregadas desde este almacen a clientes en los '
'últimos 120 días dividido por 4 para mensualizar'
'(restadas devoluciones).',
compute='_compute_rotation',
digits='Product Unit of Measure',
store=True,
)
product_min_qty = fields.Float(tracking=True)
product_max_qty = fields.Float(tracking=True)
Expand Down

0 comments on commit c3c2236

Please sign in to comment.