Skip to content

Instantly share code, notes, and snippets.


Yoinier Hernandez Nieves YnievesDotNet

View GitHub Profile
View error.log
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 Feb 28, 2017
Save extra data on vTigerCRM 6
View Save.php
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