Commit fc23493f by Maria Agustina

correcciones

1 parent 2426c7e6
...@@ -42,7 +42,7 @@ class hgt_linea_tarea(models.Model): ...@@ -42,7 +42,7 @@ class hgt_linea_tarea(models.Model):
tipo_cargo = fields.Many2one( tipo_cargo = fields.Many2one(
string='Tipo de Cargo', string='Tipo de Cargo',
comodel_name='hgt.tipo_cargo', comodel_name='hgt.tipo_cargo',
ondelete='restrict', ondelete='set null',
) )
subtotal = fields.Float( subtotal = fields.Float(
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<field name="state" readonly="1" /> <field name="state" readonly="1" />
<field name="name" readonly="1" /> <field name="name" readonly="1" />
<field name="minutos_reales" sum='1' readonly="1" /> <field name="minutos_reales" sum='1' readonly="1" />
<field name="tipo_cargo" editable="1" readonly="0" /> <field name="tipo_cargo" editable="1" />
<field name="subtotal" sum='1' readonly="1" force_save="1" /> <field name="subtotal" sum='1' readonly="1" force_save="1" />
</tree> </tree>
</field> </field>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!