Skip to content

Instantly share code, notes, and snippets.

View randall-vx's full-sized avatar
🎯
Focusing

Randall Castro - https://www.vauxoo.com randall-vx

🎯
Focusing
View GitHub Profile
@randall-vx
randall-vx / copilot-instructions.md
Created October 10, 2025 22:01
Odoo Development Environment - Copilot Instructions

Odoo Development Environment - Copilot Instructions

Project Architecture

This is an Odoo 16.0 development environment with multiple addon repositories:

  • Core Odoo: odoo/ (main Odoo framework)
  • External Addons: extra_addons/ containing multiple repositories:
    • account-financial-tools/, addons-vauxoo/, enterprise/, server-tools/, etc.
  • Each addon repo has its own git history and development workflow
@randall-vx
randall-vx / user_history.md
Last active February 28, 2025 00:28
User History

[Título del Requerimiento]

User Story Mapping

1. Meta del Usuario

Como [tipo de usuario] quiero [objetivo o necesidad] para [beneficio esperado].

2. Actividades Claves

[Listar las actividades generales que realiza el usuario para alcanzar la meta]

@randall-vx
randall-vx / vim-cheatsheet.md
Created July 20, 2024 23:27
VIM Cheatsheet

Vim Cheatsheet

Global

:help keyword # open help for keyword
:o file       # open file
:saveas file  # save file as
:close        # close current pane
@randall-vx
randall-vx / create_partner_xmlrpc.py
Created February 27, 2024 19:25
partner_vat_unique XMLRPC python code to test PR #1675
# For this example we would be using the native xmlrpc python library.
import xmlrpc.client
import json
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
# CONFIGURATION
# These parameters should be configurable in the external system.
url = 'http://oca-partner-contact-16-0-pr1675-a32c38a00de6.runboat.odoo-community.org'
@randall-vx
randall-vx / READ.md
Last active January 26, 2024 21:43
CHARLA VAUXOO - Development Environment for Functional Dummies
@randall-vx
randall-vx / odoo.js
Last active October 5, 2022 16:21
odoo appscript
url = <insert server URL>
db = <insert database name>
username = <insert username>
password = <insert password>
// Authenticate user and get uid:
var common = new XMLRPC.XmlRpcRequest(url + "/xmlrpc/2/common", "authenticate");
common.addParam(db);
common.addParam(username);
common.addParam(password);
@randall-vx
randall-vx / error.py
Created February 28, 2021 19:42
error importer
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/odoo/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/odoo/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)