Skip to content

Instantly share code, notes, and snippets.

View YnievesDotNet's full-sized avatar

Yoinier Hernandez Nieves YnievesDotNet

View GitHub Profile
YnievesDotNet / error.log
Created May 3, 2017 14:47
Error Diladele
Request Method: GET
Request URL: http://proxy.local/accounts/login/
Django Version: 1.8.17
Python Version: 2.7.5
Installed Applications:
YnievesDotNet / Save.php
Created February 28, 2017 17:48
Save extra data on vTigerCRM 6
class Module_Save_Action extends Vtiger_Save_Action {
public function process(Vtiger_Request $request) {
$recordModel = $this->getRecordModelFromRequest($request);
$accountId = (int)$request->get('module_tks_account');
$accountModel = Vtiger_Record_Model::getInstanceById($accountId, 'Accounts');
$fieldList = array(
from odoo import models, fields
class ProductTemplate(models.Model):
_inherit = "product.template"
cum = fields.Char(
'CUM Code', size=40