View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - poject: version product - ProjeQtOr
 

poject: version product

More
24 Feb 2017 14:38 #1 by Durou C
I have 2 times the linked products and 2 times the project versions linked on the page of a project
Attachments:

Please Log in or Create an account to join the conversation.

More
28 Feb 2017 10:51 #2 by babynus
Replied by babynus on topic poject: version product
Some sections have been renames, so screen customization may lead to such behavior.
(we've identified this issue and will fix it in coming version of the plugin)

Please post here your file /model/custom/Project.php
we'll propose a fix for you.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
28 Feb 2017 11:13 #3 by Durou C
Replied by Durou C on topic poject: version product
require_once('_securityCheck.php');
class Project extends ProjectMain {

public $_sec_Description;
public $id;
public $_spe_rf;
public $name;
public $idProjectType;
public $codeType;
public $idClient;
public $idContact;
public $projectCode;
public $contractCode;
public $clientCode;
public $idProject;
public $idCommercial;
public $idSponsor;
public $idResource;
public $penalite;
public $atex;
public $isUnderConstruction;
public $suivideprojet;
public $idUser;
public $creationDate;
public $color;
public $idStatus;
public $idHealth;
public $idQuality;
public $idTrend;
public $idOverallProgress;
public $fixPlanning;
public $done;
public $doneDate;
public $idle;
public $idleDate;
public $cancelled;
public $_lib_cancelled;
public $longitude;
public $latitude;
public $description;
public $objectives;
public $_sec_Progress;
public $ProjectPlanningElement;
public $_sec_Affectations;
public $_spe_affectations;
public $_sec_Versionproject_versions;
public $_VersionProject=array();
public $_sec_Subprojects;
public $_spe_subprojects;
public $_sec_predecessor;
public $_Dependency_Predecessor=array();
public $_sec_successor;
public $_Dependency_Successor=array();
public $_sec_Link;
public $_Link=array();
public $_Attachment=array();
public $_Note=array();
public $sortOrder;
public $_nbColMax=3;
public $lastUpdateDateTime;
public $_sec_Productproject_products;
public $_ProductProject=array();
public $_sec_restrictTypes;
public $_spe_restrictTypes;
public $idOrganization;
public $organizationInherited;
public $organizationElementary;

public static $_customFields=array(
'suivideprojet'
,'idCommercial'
,'penalite'
,'atex'
);

public static $_colCaptionTransposition=array(
"suivideprojet"=>"plgSuivideprojet",
"idCommercial"=>"plgIdCommercial",
"penalite"=>"plgPenalite",
"atex"=>"plgAtex"
);

private static $_fieldsAttributes=array(
"name"=>"required",
"done"=>"nobr",
"idle"=>"nobr",
"sortOrder"=>"hidden",
"codeType"=>"hidden",
"idProjectType"=>"required",
"longitude"=>"hidden",
"latitude"=>"hidden",
"idStatus"=>"required",
"idleDate"=>"nobr",
"cancelled"=>"nobr",
"clientCode"=>"hidden",
"idSponsor"=>"hidden",
"contractCode"=>"required",
"idContact"=>"hidden",
"idHealth"=>"hidden",
"idQuality"=>"hidden",
"idTrend"=>"hidden",
"fixPlanning"=>"",
"description"=>"required",
"projectCode"=>"required",
"suivideprojet"=>"",
"objectives"=>"hidden",
"commercial"=>"",
"idCommercial"=>"required",
"isUnderConstruction"=>"",
"penalite"=>"",
"atex"=>""
);

/** ==========================================================================
* Constructor
* @param $id the id of the object in the database (null if not stored yet)
* @return void
*/
function __construct($id = NULL, $withoutDependentObjects=false) {
parent::__construct($id,$withoutDependentObjects);
}

/** ==========================================================================
* Destructor
* @return void
*/
function __destruct() {
parent::__destruct();
}



/** ==========================================================================
* Return the specific fieldsAttributes
* @return the fieldsAttributes
*/
protected function getStaticFieldsAttributes() {
return array_merge(parent::getStaticFieldsAttributes(),self::$_fieldsAttributes);
}

/** ============================================================================
* Return the specific colCaptionTransposition
* @return the colCaptionTransposition
*/
protected function getStaticColCaptionTransposition($fld=null) {
if (isset(self::$_colCaptionTransposition)) {
return array_merge(parent::getStaticColCaptionTransposition($fld),self::$_colCaptionTransposition);
} else {
return parent::getStaticColCaptionTransposition($fld);
}
}
}
?>

Please Log in or Create an account to join the conversation.

More
14 Apr 2019 10:39 #4 by babynus
Replied by babynus on topic poject: version product
Attached is fixed file.
As your version seems to be old one (before V7.4) be sure to backup your version of the file before installing the new one in /model/custom

Babynus
Administrator of ProjeQtOr web site
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.044 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.