mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 02:42:33 +01:00
Fix permission on export of BOM and website
This commit is contained in:
@@ -286,6 +286,7 @@ class modBom extends DolibarrModules
|
||||
$langs->load("mrp");
|
||||
$this->export_code[$r] = $this->rights_class.'_'.$r;
|
||||
$this->export_label[$r] = 'BomAndBomLines'; // Translation key (used only if key ExportDataset_xxx_z not found)
|
||||
$this->export_permission[$r] = array(array("bom", "read"));
|
||||
$this->export_icon[$r] = 'bom';
|
||||
$keyforclass = 'BOM';
|
||||
$keyforclassfile = '/bom/class/bom.class.php';
|
||||
|
||||
Reference in New Issue
Block a user