Skip to content

Instantly share code, notes, and snippets.

View gomezgleonardob's full-sized avatar
😎
Developing and Watching

Leonardo gomezgleonardob

😎
Developing and Watching
View GitHub Profile
@gomezgleonardob
gomezgleonardob / l10n_ec_superbancos_sales_report_wizard.py
Last active March 8, 2023 16:48 — forked from mamfredym/l10n_ec_superbancos_sales_report_wizard.py
Odoo | Reporte TXT Superintendencia de Bancos Ventas a Crédito (a.k.a. Dinardap)
# -*- coding: utf-8 -*-
from odoo import api, fields, models, _
from odoo.exceptions import UserError
import base64
import calendar
class L10nEcSuperbancosSalesReportWizard(models.TransientModel):
_name = 'ln10_ec.superbancos.sales.wizard'
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2010-2012 ChriCar Beteiligungs- und Beratungs- GmbH (<http://www.camptocamp.at>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
./odoo/openerp-server --db_user=finamsys --db_password=mysecretpassword --db_host=localhost --db_port=5433 --database=telecomgroup --addons-path=./odoo/addons/,./odoo/extra_addons/additional_addons/,./odoo/extra_addons/addons/
#Doas
sudo apt install doas
#NodeJS
14 - curl -s https://deb.nodesource.com/setup_14.x | sudo bash
16 - curl -s https://deb.nodesource.com/setup_16.x | sudo bash
sudo apt update
sudo apt install nodejs -y
<!DOCTYPE html>
<html lang="es">
<head>
<title>Curriculum Vitae</title>
</head>
<body>
<img src="https://pbs.twimg.com/profile_images/1452313498055282699/4IqQrLP4_400x400.jpg" class="image-profile" alt="Profile_Picture" style= "width:20%">
<h2>Acerca de Mí</h2>
<section alt="About_me">
Weekly Development Tracking
Actualizar el crud de permisos para que tenga un permtipo del tipo int 0='todos' 1='Angular' 2='Mobile'
Proveedor
Servicios Instantaneos -menu #
Nuevo Servicio Instantaneo /
Instantaneo Recibidos
Instantaneos Realizados
Usuario
Servicios Instantaneos -menu #
Nuevo Servicio Instantaneo /categoria/instantaneo
{
"detail":[
{
"ciuid":1,
"puncernombre":2201,
"puncerdescripcion":2201,
"puncerlatitud":"-2.897737133323",
"puncerlongitud":"-79.33433974511",
public Respuesta crear() throws NoSuchMethodException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, ClassNotFoundException {
//Objeto.setRolid(cargarSecuencial());
Controlador control = null;
IniciarTransaccion();
for (Object objeto : (List<Object>) convertirToObjectList(clase, convertirToJson(this.detail))) {
String abreviaturas[] = this.abreviatura.split("-");
if (abreviaturas.length > 1) {
this.modelo = clase.getDeclaredMethod("getEntidad").invoke(objeto).toString();
String columnas = "";
String values = "";