We use this library on GitHub when rendering your README or any other
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
. | |
. | |
<div> | |
<h1> | |
<field name="cod_alumno" placeholder="Cod. Alumno"/> <!-- agregamos este campo --> | |
<field name="nombres" default_focus='1' placeholder="Nombres"/> | |
<field name="apellido_paterno" placeholder='Apellido paterno' /> | |
<field name="apellido_materno" placeholder='Apellido materno'/> | |
</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<openerp> | |
<data> | |
<!-- tipo de secuencia --> | |
<record model="ir.sequence.type" id="secuencia_type_alumno"> | |
<field name="name">Secuencia_alumno</field> | |
<field name="code">code-alumno</field> | |
</record> | |
<!-- Secuencia --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
. | |
. | |
_columns = { | |
. | |
. | |
. | |
} | |
_defaults = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
. | |
. | |
def accion_planificada(self, cr, uid, param): | |
print "=" * 20 | |
print "Estamos en accion_planificada" | |
print "=" * 20 | |
print "Aquí toda la lógica de la programación." | |
print "param", param |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<openerp> | |
<data> | |
<!-- descripcion: | |
id: se define un id para el reporte | |
model: nombre del modelo | |
name: nombre del reporte | |
rml: la dirección del archivo rml | |
string: nombre descriptivo del reporte |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "Alumno", | |
"version" : "0.1", | |
"author" : "yaroslab", | |
"website" : "http://yaroslab.com/", | |
"category" : "Generic Modules/Others", | |
"depends" : ["base"], | |
"description" : "Registro alumno", | |
"init_xml" : [ | |
"alumno_view.xml", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import time | |
from report import report_sxw | |
class report_alumno(report_sxw.rml_parse): | |
def __init__(self, cr, uid, name, context): | |
super(report_alumno, self).__init__(cr, uid, name, context=context) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<document filename="index.pdf"> | |
<template pageSize="(22.5cm, 20.2cm)" title="Test" author="YarosLab" allowSplitting="5"> | |
<pageTemplate id="main"> | |
<pageGraphics> | |
<setFont name="Helvetica" size="32.0"/> | |
<drawString x="6cm" y="18cm">Ficha Del Alumno</drawString> | |
</pageGraphics> | |
<frame id="first" x1="1cm" y1="0cm" width="20cm" height="18cm"/> |