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:
@@ -35,6 +35,8 @@ class SkeenServicio(models.Model):
|
||||
color = fields.Char(string='Color', default='#1abc9c')
|
||||
service_group = fields.Char(string='Grupo')
|
||||
is_favorite = fields.Boolean(string='Favorito', default=False)
|
||||
genera_monedero = fields.Boolean(string='Genera monedero', default=True,
|
||||
help='Si está activo, la venta de este servicio acumula puntos monedero.')
|
||||
tag_ids = fields.Many2many('skeen.service.tag', string='Etiquetas')
|
||||
|
||||
# Configuración
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
<field name="code"/>
|
||||
<field name="category"/>
|
||||
<field name="active"/>
|
||||
<field name="genera_monedero"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="price"/>
|
||||
|
||||
Reference in New Issue
Block a user