dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] Addline function


From: Maxime Kohlhaas
Subject: [Dolibarr-dev] Addline function
Date: Mon, 22 Apr 2013 12:33:26 +0200

Hi all,

I saw that there's a new way of adding line to a document (proposal, order, invoice) that is used when MAIN_FEATURES_LEVEL is on 2. The free line block and predefined product line block are merged and we can edit directly all informations on the line.

Sadly, I can't activate this for my customers because I keep them in MAIN_FEATURE_LEVEL 0. And the test done is :

if ($conf->global->MAIN_FEATURES_LEVEL > 1)
{
        // Add free or predefined products/services
        $object->formAddObjectLine($dateSelector,$mysoc,$object->thirdparty);
}

Why this functionality is not available with MAIN_FEATURE_LEVEL = 0 and doesn't become the standard way of adding lines ? Or could we imagine to add a conf to define if we want to use the new way or the old way ?

Cordialement,

--
Maxime Kohlhaas
Consultant associé
ATM Consulting
+33 6 33 42 92 43

reply via email to

[Prev in Thread] Current Thread [Next in Thread]