This part of code is not stable and not working.
I will rewrote this later, after 3.4.

Le 22/04/2013 12:33, Maxime Kohlhaas a écrit :
> 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/
>
>
> _______________________________________________
> Dolibarr-dev mailing list
> Dolibarr-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


-- 
Eldy (Laurent Destailleur).

EMail: e...@destailleur.fr
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: cont...@destailleur.fr
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: cont...@destailleur.fr
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net

_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à