mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-14 13:31:28 +01:00
Review of module asset (#33847)
* Fixed Asset - Update translation of the module * Fix asset create name * Fix ref field * Update module Asset * Fix CI * Fix CI * Fix comment
This commit is contained in:
committed by
GitHub
parent
f0bd86c8a4
commit
ab0ce1d645
@@ -58,9 +58,9 @@ class modAsset extends DolibarrModules
|
||||
// Module label (no space allowed), used if translation string 'ModuleAssetsName' not found (MyModue is name of module).
|
||||
$this->name = preg_replace('/^mod/i', '', get_class($this));
|
||||
// Module description, used if translation string 'ModuleAssetsDesc' not found (MyModue is name of module).
|
||||
$this->description = "Asset module";
|
||||
$this->description = "Fixed asset management";
|
||||
// Used only if file README.md and README-LL.md not found.
|
||||
$this->descriptionlong = "Asset module to manage assets module and depreciation charge on Dolibarr";
|
||||
$this->descriptionlong = "Asset module to manage fixed asset module and depreciation charge";
|
||||
|
||||
// Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated' or a version string like 'x.y.z'
|
||||
$this->version = 'experimental';
|
||||
@@ -113,6 +113,16 @@ class modAsset extends DolibarrModules
|
||||
1
|
||||
);
|
||||
|
||||
$this->const[2] = array(
|
||||
"ASSET_ASSET_ADDON",
|
||||
"chaine",
|
||||
"mod_asset_standard",
|
||||
"Name of numbering rules for fixed asset",
|
||||
0,
|
||||
'current',
|
||||
1
|
||||
);
|
||||
|
||||
|
||||
if (!isModEnabled('asset')) {
|
||||
$conf->asset = new stdClass();
|
||||
|
||||
Reference in New Issue
Block a user