Skip to content

Instantly share code, notes, and snippets.

Yoinier Hernandez Nieves YnievesDotNet

Block or report user

Report or block YnievesDotNet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View error.log
Environment:
Request Method: GET
Request URL: http://proxy.local/accounts/login/
Django Version: 1.8.17
Python Version: 2.7.5
Installed Applications:
('django.contrib.admin',
@YnievesDotNet
YnievesDotNet / Save.php
Created Feb 28, 2017
Save extra data on vTigerCRM 6
View Save.php
<?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(
View product_cum_model.py
from odoo import models, fields
class ProductTemplate(models.Model):
_inherit = "product.template"
cum = fields.Char(
'CUM Code', size=40
)
You can’t perform that action at this time.