Compare commits
No commits in common. "ca137b324fe2ed2bc6de85c8014ca159ca9a40a6" and "9a31749b023f569f4c4b697e20141ae55a63ef8d" have entirely different histories.
ca137b324f
...
9a31749b02
Binary file not shown.
Binary file not shown.
@ -11,17 +11,11 @@ class Recepcion(ModelView, ModelSQL):
|
||||
metodo_contacto=fields.Many2One('party.contact_mechanism', "Contacto")
|
||||
hora_entrada = fields.DateTime('Hora Entrada')
|
||||
referencia = fields.Char("Referencia")
|
||||
descripcion = fields.Text("Descripcion")
|
||||
estado = fields.Selection([("borrador","Borrador"),("registrado", "Registrado")],"Estado")
|
||||
|
||||
@classmethod
|
||||
def default_hora_entrada(cls):
|
||||
return datetime.now()
|
||||
|
||||
@classmethod
|
||||
def default_estado(cls):
|
||||
return "borrador"
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -12,10 +12,4 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="hora_entrada"/>
|
||||
<label name="referencia"/>
|
||||
<field name="referencia"/>
|
||||
<newline />
|
||||
<label name="descripcion"/>
|
||||
<field name="descripcion"/>
|
||||
<label name="estado"/>
|
||||
<field name="estado"/>
|
||||
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user