mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-10 01:42:33 +01:00
Merge pull request #8499 from atm-maxime/7.0
FIX service creation, right is tested regarding the product type
This commit is contained in:
@@ -77,6 +77,7 @@ $duration_unit = GETPOST('duration_unit');
|
||||
if (! empty($user->societe_id)) $socid=$user->societe_id;
|
||||
|
||||
$object = new Product($db);
|
||||
$object->type = $type; // so test later to fill $usercancxxx is correct
|
||||
$extrafields = new ExtraFields($db);
|
||||
|
||||
// fetch optionals attributes and labels
|
||||
|
||||
Reference in New Issue
Block a user