Compare commits
	
		
			2 Commits
		
	
	
		
			9a31749b02
			...
			ca137b324f
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					ca137b324f | ||
| 
						 | 
					39d8814e72 | 
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -11,11 +11,17 @@ 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,4 +12,10 @@ 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>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user