Script de OpenUpgrade para migrar l10n_es_pos
de Odoo 10.0 a 11.0. En caso de haber instalado en Odoo 10.0 esta PR.
This file contains 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
# Exported from Wings 3D 1.5.4 | |
mtllib marcaline test.mtl | |
o Cube1 | |
#8 vertices, 6 faces | |
v -2.50000000 -3.50000000 -1.50000000 | |
v -2.50000000 -3.50000000 1.50000000 | |
v -2.50000000 3.50000000 -1.50000000 | |
v -2.50000000 3.50000000 1.50000000 | |
v 2.50000000 -3.50000000 -1.50000000 | |
v 2.50000000 -3.50000000 1.50000000 |
This file contains 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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Unit Test", | |
"type": "python", | |
"request": "launch", |
This file contains 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
# License AGPLv3 (http://www.gnu.org/licenses/agpl-3.0-standalone.html) | |
from threading import Thread | |
from queue import Queue | |
import odoorpc | |
ODOO_SRC = { | |
'host': '127.0.0.1', |
Repaso breve a los comandos, crear atajos de teclado y una lista de comandos útiles.
Los alias
son por así decirlo abreviaturas de un comando. Por ejemplo si queremos conocer el ping en el juego pero el comando por defecto nos parece muy largo podemos crear un alias para abreviarlo: /alias ping "netgraph 1"
.
La sintaxis del comando es:
/alias abreviatura "comando_entre_comillas"
This file contains 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 json | |
class UserEncoder(json.JSONEncoder): | |
def default(self, obj): | |
return obj.__dict__ |
This file contains 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
#encoding: utf-8 | |
#!/usr/bin/env python | |
class nueva_clase(object): | |
def __init__(self): | |
self.numero = 2 | |
def mostrar(self): |