forked from Wavyzz/dolibarr
FIX missing setup of extrafields for MO
FIX all extrafields cleared after update of one of them FIX Update of extrafields date FIX Update of extrafiels on draft object FIX Sql type Fix trans on BOM
This commit is contained in:
@@ -33,12 +33,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/commonobject.class.php';
|
||||
class MyObject extends CommonObject
|
||||
{
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
* @var string ID to identify managed object.
|
||||
*/
|
||||
public $element = 'myobject';
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
* @var string Name of table without prefix where object is stored. This is also the key used for extrafields management.
|
||||
*/
|
||||
public $table_element = 'mymodule_myobject';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user