Compare commits

..

No commits in common. "ca137b324fe2ed2bc6de85c8014ca159ca9a40a6" and "9a31749b023f569f4c4b697e20141ae55a63ef8d" have entirely different histories.

4 changed files with 0 additions and 12 deletions

View File

@ -11,17 +11,11 @@ class Recepcion(ModelView, ModelSQL):
metodo_contacto=fields.Many2One('party.contact_mechanism', "Contacto") metodo_contacto=fields.Many2One('party.contact_mechanism', "Contacto")
hora_entrada = fields.DateTime('Hora Entrada') hora_entrada = fields.DateTime('Hora Entrada')
referencia = fields.Char("Referencia") referencia = fields.Char("Referencia")
descripcion = fields.Text("Descripcion")
estado = fields.Selection([("borrador","Borrador"),("registrado", "Registrado")],"Estado")
@classmethod @classmethod
def default_hora_entrada(cls): def default_hora_entrada(cls):
return datetime.now() return datetime.now()
@classmethod
def default_estado(cls):
return "borrador"

View File

@ -12,10 +12,4 @@ this repository contains the full copyright notices and license terms. -->
<field name="hora_entrada"/> <field name="hora_entrada"/>
<label name="referencia"/> <label name="referencia"/>
<field name="referencia"/> <field name="referencia"/>
<newline />
<label name="descripcion"/>
<field name="descripcion"/>
<label name="estado"/>
<field name="estado"/>
</form> </form>