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
# Leer sugerencia de Hiaura | |
https://docs.djangoproject.com/en/3.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_select_related | |
#Eliminar las migraciones desde Posgresql | |
# - Entrar a psql | |
docker exec -it billing-backend_db_1 psql -U billing | |
# Listar las migraciones | |
SELECT * FROM django_migration; | |
# Eliminar o por nombre de la app o directamente por cada ID | |
delete FROM django_migrations where app='document'; |
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
# QWEB ODOO | |
https://www.realsystems.com.mx/en_US/blog/desarrollo-openerp-odoo-9/post/condicionantes-en-vistas-qweb-357 | |
https://www.cybrosys.com/blog/advanced-qweb-operations-in-odoo | |
https://github.com/odoo/odoo/blob/9.0/addons/website_sale/views/templates.xml#L1072-L1080 | |
https://www.odoo.com/es_ES/forum/ayuda-1/question/how-to-send-json-object-in-the-body-of-a-post-request-in-controller-141116 | |
NOTAS:USO DE VIM | |
http://www.sromero.org/wiki/linux/aplicaciones/manual_vim |
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
# Instalar Docker | |
https://docs.docker.com/install/linux/docker-ce/debian/ | |
#Descargar la imagen de Vauxoo | |
https://hub.docker.com/r/vauxoo/odoo-80-image-shippable-auto | |
# Ejecutar lo siguiente en consola | |
docker pull vauxoo/odoo-80-image-shippable-auto |