Monedero configurable por servicio y artículo
- Campo genera_monedero (default true) en servicios e items de inventario - Puntos proporcionales a las líneas elegibles al liquidar la venta - Toggle con icono Wallet en Servicios e Inventario
This commit is contained in:
@@ -28,6 +28,8 @@ class SkeenInventarioItem(models.Model):
|
||||
expiry_date = fields.Date(string='Caducidad')
|
||||
last_count_date = fields.Date(string='Último conteo físico')
|
||||
active = fields.Boolean(string='Activo', default=True)
|
||||
genera_monedero = fields.Boolean(string='Genera monedero', default=True,
|
||||
help='Si está activo, la venta de este artículo acumula puntos monedero.')
|
||||
notes = fields.Text(string='Notas')
|
||||
|
||||
move_ids = fields.One2many('skeen.inventario.move', 'item_id', string='Movimientos')
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
<field name="qty_optimal"/>
|
||||
<field name="cost"/>
|
||||
<field name="price"/>
|
||||
<field name="genera_monedero"/>
|
||||
<field name="inventory_value" sum="Total"/>
|
||||
<field name="stock_level" widget="badge"
|
||||
decoration-danger="stock_level=='out'"
|
||||
@@ -41,6 +42,7 @@
|
||||
<field name="category"/>
|
||||
<field name="unit"/>
|
||||
<field name="active"/>
|
||||
<field name="genera_monedero"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="qty"/>
|
||||
|
||||
Reference in New Issue
Block a user