FIX several minor troubles with modulebuilder

This commit is contained in:
ldestailleur
2025-08-05 02:44:52 +02:00
parent ecf73afe86
commit 53683a6a3a
4 changed files with 60 additions and 38 deletions

View File

@@ -1276,6 +1276,18 @@ class MyObjectLine extends CommonObjectLine
*/
public $fk_parent_attribute = ''; // Example: '' or 'fk_myobject'
/**
* @var int<0,1> Does object support extrafields ? 0=No, 1=Yes
*/
public $isextrafieldmanaged = 0;
/**
* @var int<0,1>|string|null Does this object support multicompany module ?
* 0=No test on entity, 1=Test with field entity in local table, 'field@table'=Test entity into the field@table (example 'fk_soc@societe')
*/
public $ismultientitymanaged = 0;
/**
* Constructor
*
@@ -1284,7 +1296,5 @@ class MyObjectLine extends CommonObjectLine
public function __construct(DoliDB $db)
{
$this->db = $db;
$this->isextrafieldmanaged = 0;
}
}