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
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', |
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
<?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( |
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
from odoo import models, fields | |
class ProductTemplate(models.Model): | |
_inherit = "product.template" | |
cum = fields.Char( | |
'CUM Code', size=40 | |
) | |