From d41ceae64aca0112836d7db3fc77a6aa3b5b9dce Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Tue, 1 Oct 2013 18:11:53 +0200 Subject: [PATCH 1/4] - New: Can choose contact on event (action com) creation, and filtred by thirdparty --- ChangeLog | 1 + htdocs/comm/action/fiche.php | 24 +++++++++++++----------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1938040f92e..15f31a52fbe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -61,6 +61,7 @@ For users: - New: Can send an email from thirdparty card. - New: Can cancel holidays that were previously validated. - Fix: [bug #1022] correct margin calculation for credit notes. +- New: Can choose contact on event (action com) creation, and filtred by thirdparty For translators: - Qual: Normalized sort order of all languages files with english reference files. diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 0607fdd6e0e..f03d09cd5a5 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -564,23 +564,23 @@ if ($action == 'create') } else { + + $events=array(); + $events[]=array('method' => 'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php',1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled')); //For external user force the company to user company if (!empty($user->societe_id)) { - print $form->select_company($user->societe_id,'socid','',1,1); + print $form->select_company($user->societe_id,'socid','',1,1,0,$events); } else { - print $form->select_company('','socid','',1,1); + print $form->select_company('','socid','',1,1,0,$events); } } print ''; - // If company is forced, we propose contacts (may be contact is also forced) - if (GETPOST("contactid") > 0 || GETPOST('socid','int') > 0) - { - print ''.$langs->trans("ActionOnContact").''; - $form->select_contacts(GETPOST('socid','int'),GETPOST('contactid'),'contactid',1); - print ''; - } + print ''.$langs->trans("ActionOnContact").''; + $form->select_contacts(GETPOST('socid','int'),GETPOST('contactid'),'contactid',1); + print ''; + // Project if (! empty($conf->projet->enabled)) @@ -809,12 +809,14 @@ if ($id > 0) { print ''.$langs->trans("ActionOnCompany").''; print ''; - print $form->select_company($act->societe->id,'socid','',1,1); + $events=array(); + $events[]=array('method' => 'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php',1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled')); + print $form->select_company($act->societe->id,'socid','',1,1,0,$events); print ''; // Contact print ''.$langs->trans("Contact").''; - print $form->selectarray("contactid", (empty($act->societe->id)?array():$act->societe->contact_array()), $act->contact->id, 1); + $form->select_contacts($act->societe->id, $act->contact->id,'contactid',1); print ''; } From 3fb890e9b742de32c4b34718d42ae97c941aed1c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Oct 2013 12:49:28 +0200 Subject: [PATCH 2/4] New: Add total of unique different product into warehouse --- htdocs/langs/en_US/stocks.lang | 1 + htdocs/langs/fr_FR/stocks.lang | 1 + htdocs/product/stock/class/entrepot.class.php | 44 ++++++++++++++++--- htdocs/product/stock/fiche.php | 6 +++ htdocs/product/stock/mouvement.php | 6 +++ 5 files changed, 52 insertions(+), 6 deletions(-) diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang index 374acec166b..920ac61940a 100644 --- a/htdocs/langs/en_US/stocks.lang +++ b/htdocs/langs/en_US/stocks.lang @@ -27,6 +27,7 @@ ListOfStockMovements=List of stock movements StocksArea=Stocks area Location=Location LocationSummary=Short name location +NumberOfDifferentProducts=Number of different products NumberOfProducts=Total number of products LastMovement=Last movement LastMovements=Last movements diff --git a/htdocs/langs/fr_FR/stocks.lang b/htdocs/langs/fr_FR/stocks.lang index 0d87f7e5140..3e206b91e0d 100644 --- a/htdocs/langs/fr_FR/stocks.lang +++ b/htdocs/langs/fr_FR/stocks.lang @@ -27,6 +27,7 @@ ListOfStockMovements=Liste des mouvements de stock StocksArea=Espace stocks Location=Lieu LocationSummary=Nom court du lieu +NumberOfDifferentProducts=Nombre de produits différents NumberOfProducts=Nombre total de produits LastMovement=Dernier mouvement LastMovements=Derniers mouvements diff --git a/htdocs/product/stock/class/entrepot.class.php b/htdocs/product/stock/class/entrepot.class.php index 580b729c8c3..384b3712674 100644 --- a/htdocs/product/stock/class/entrepot.class.php +++ b/htdocs/product/stock/class/entrepot.class.php @@ -243,15 +243,15 @@ class Entrepot extends CommonObject function fetch($id, $ref='') { global $conf; - + $sql = "SELECT rowid, label, description, statut, lieu, address, zip, town, fk_pays as country_id"; $sql .= " FROM ".MAIN_DB_PREFIX."entrepot"; - - if ($id) + + if ($id) { $sql.= " WHERE rowid = '".$id."'"; } - + else { $sql.= " WHERE entity = " .$conf->entity; @@ -276,12 +276,12 @@ class Entrepot extends CommonObject $this->zip = $obj->zip; $this->town = $obj->town; $this->country_id = $obj->country_id; - + include_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; $tmp=getCountry($this->country_id,'all'); $this->country=$tmp['label']; $this->country_code=$tmp['code']; - + return 1; } else @@ -377,6 +377,38 @@ class Entrepot extends CommonObject return $liste; } + /** + * Return number of unique different product into a warehosue + * + * @return Array Array('nb'=>Nb, 'value'=>Value) + */ + function nb_different_products() + { + $ret=array(); + + $sql = "SELECT count(distinct p.rowid) as nb"; + $sql.= " FROM ".MAIN_DB_PREFIX."product_stock as ps"; + $sql.= ", ".MAIN_DB_PREFIX."product as p"; + $sql.= " WHERE ps.fk_entrepot = ".$this->id; + $sql.= " AND ps.fk_product = p.rowid"; + + //print $sql; + $result = $this->db->query($sql); + if ($result) + { + $obj = $this->db->fetch_object($result); + $ret['nb']=$obj->nb; + $this->db->free($result); + } + else + { + $this->error=$this->db->lasterror(); + return -1; + } + + return $ret; + } + /** * Return stock and value of warehosue * diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 1d0a9c08e04..104f92a84a9 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -276,8 +276,14 @@ else // Status print ''.$langs->trans("Status").''.$object->getLibStatut(4).''; + $calcproductsunique=$object->nb_different_products(); $calcproducts=$object->nb_products(); + // Total nb of different products + print ''.$langs->trans("NumberOfDifferentProducts").''; + print empty($calcproductsunique['nb'])?'0':$calcproductsunique['nb']; + print ""; + // Nb of products print ''.$langs->trans("NumberOfProducts").''; print empty($calcproducts['nb'])?'0':$calcproducts['nb']; diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 89b7f83d576..7263d8d5fee 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -236,8 +236,14 @@ if ($resql) // Status print ''.$langs->trans("Status").''.$entrepot->getLibStatut(4).''; + $calcproductsunique=$entrepot->nb_different_products(); $calcproducts=$entrepot->nb_products(); + // Total nb of different products + print ''.$langs->trans("NumberOfDifferentProducts").''; + print empty($calcproductsunique['nb'])?'0':$calcproductsunique['nb']; + print ""; + // Nb of products print ''.$langs->trans("NumberOfProducts").''; print empty($calcproducts['nb'])?'0':$calcproducts['nb']; From 4a59a99190b250368d236d7fc075b065379ec447 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Oct 2013 16:19:35 +0200 Subject: [PATCH 3/4] Fix: No filter when already on filtered warehouse. --- htdocs/langs/en_US/stocks.lang | 1 + htdocs/langs/fr_FR/stocks.lang | 1 + htdocs/product/stock/mouvement.php | 10 +++++----- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/htdocs/langs/en_US/stocks.lang b/htdocs/langs/en_US/stocks.lang index 920ac61940a..80b8fb352ac 100644 --- a/htdocs/langs/en_US/stocks.lang +++ b/htdocs/langs/en_US/stocks.lang @@ -99,3 +99,4 @@ SelectProduct=Select at least one product AlertOnly= Alerts only WarehouseForStockDecrease=The warehouse %s will be used for stock decrease WarehouseForStockIncrease=The warehouse %s will be used for stock increase +ForThisWarehouse=For this warehouse \ No newline at end of file diff --git a/htdocs/langs/fr_FR/stocks.lang b/htdocs/langs/fr_FR/stocks.lang index 3e206b91e0d..934e0b59b99 100644 --- a/htdocs/langs/fr_FR/stocks.lang +++ b/htdocs/langs/fr_FR/stocks.lang @@ -99,3 +99,4 @@ SelectProduct=Sélectionnez au moins un produit AlertOnly = Alertes seulement WarehouseForStockDecrease=L'entrepôt %s sera utilisé pour la décrémentation du stock WarehouseForStockIncrease=L'entrepôt %s sera utilisé pour l'incrémentation du stock +ForThisWarehouse=Pour cet entrepôt \ No newline at end of file diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index 7263d8d5fee..321e9d0ff95 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -190,9 +190,9 @@ if ($resql) $help_url='EN:Module_Stocks_En|FR:Module_Stock|ES:Módulo_Stocks'; $texte = $langs->trans("ListOfStockMovements"); + $texte.=' ('.$langs->trans("ForThisWarehouse").')'; llxHeader("",$texte,$help_url); - /* * Show tab only if we ask a particular warehouse */ @@ -398,8 +398,8 @@ if ($resql) if ($snom) $param.='&snom='.urlencode($snom); if ($search_user) $param.='&search_user='.urlencode($search_user); if ($idproduct > 0) $param.='&idproduct='.$idproduct; - if ($id) print_barre_liste($texte, $page, "mouvement.php", $param, $sortfield, $sortorder,'',$num,0,''); - else print_barre_liste($texte, $page, "mouvement.php", $param, $sortfield, $sortorder,'',$num); + if ($id) print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder,'',$num,0,''); + else print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder,'',$num); print ''; print ""; @@ -407,7 +407,7 @@ if ($resql) print_liste_field_titre($langs->trans("Date"),$_SERVER["PHP_SELF"], "m.datem","",$param,"",$sortfield,$sortorder); print_liste_field_titre($langs->trans("Label"),$_SERVER["PHP_SELF"], "m.label","",$param,"",$sortfield,$sortorder); print_liste_field_titre($langs->trans("Product"),$_SERVER["PHP_SELF"], "p.ref","",$param,"",$sortfield,$sortorder); - print_liste_field_titre($langs->trans("Warehouse"),$_SERVER["PHP_SELF"], "e.label","",$param,"",$sortfield,$sortorder); + print_liste_field_titre($langs->trans("Warehouse"),$_SERVER["PHP_SELF"], "","",$param,"",$sortfield,$sortorder); // We are on a specific warehouse card, no filter on other should be possible print_liste_field_titre($langs->trans("Author"),$_SERVER["PHP_SELF"], "m.fk_user_author","",$param,"",$sortfield,$sortorder); print_liste_field_titre($langs->trans("Units"),$_SERVER["PHP_SELF"], "m.value","",$param,'align="right"',$sortfield,$sortorder); print "\n"; @@ -432,7 +432,7 @@ if ($resql) print ''; print ''; print ''; print '
'; - print ''; + //print ''; // We are on a specific warehouse card, no filter on other should be possible print ''; print ''; From 2ffb16b99d201b48f09b21bf54497c412aa7f553 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Oct 2013 23:48:13 +0200 Subject: [PATCH 4/4] Fix: permissions on files. --- htdocs/install/mysql/tables/llx_actioncomm_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_actioncomm_extrafields.sql | 0 htdocs/install/mysql/tables/llx_adherent_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_adherent_extrafields.sql | 0 htdocs/install/mysql/tables/llx_adherent_type_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_adherent_type_extrafields.sql | 0 htdocs/install/mysql/tables/llx_c_actioncomm.key.sql | 0 htdocs/install/mysql/tables/llx_c_availability.key.sql | 0 htdocs/install/mysql/tables/llx_c_barcode_type.key.sql | 0 htdocs/install/mysql/tables/llx_c_input_method.key.sql | 0 htdocs/install/mysql/tables/llx_c_input_method.sql | 0 htdocs/install/mysql/tables/llx_c_input_reason.key.sql | 0 htdocs/install/mysql/tables/llx_c_input_reason.sql | 0 htdocs/install/mysql/tables/llx_commande_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_commande_extrafields.sql | 0 htdocs/install/mysql/tables/llx_commandedet_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_commandedet_extrafields.sql | 0 htdocs/install/mysql/tables/llx_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_extrafields.sql | 0 htdocs/install/mysql/tables/llx_facture_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_facture_extrafields.sql | 0 htdocs/install/mysql/tables/llx_facture_fourn_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_facture_fourn_extrafields.sql | 0 htdocs/install/mysql/tables/llx_facturedet_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_facturedet_extrafields.sql | 0 htdocs/install/mysql/tables/llx_fichinter_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_opensurvey_comments.key.sql | 0 htdocs/install/mysql/tables/llx_opensurvey_comments.sql | 0 htdocs/install/mysql/tables/llx_opensurvey_sondage.key.sql | 0 htdocs/install/mysql/tables/llx_opensurvey_sondage.sql | 0 htdocs/install/mysql/tables/llx_opensurvey_user_studs.key.sql | 0 htdocs/install/mysql/tables/llx_opensurvey_user_studs.sql | 0 htdocs/install/mysql/tables/llx_paiementcharge.sql | 0 htdocs/install/mysql/tables/llx_product_association.key.sql | 0 htdocs/install/mysql/tables/llx_product_association.sql | 0 htdocs/install/mysql/tables/llx_product_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_product_extrafields.sql | 0 htdocs/install/mysql/tables/llx_projet_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_projet_extrafields.sql | 0 htdocs/install/mysql/tables/llx_projet_task_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_projet_task_extrafields.sql | 0 htdocs/install/mysql/tables/llx_propal_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_propal_extrafields.sql | 0 htdocs/install/mysql/tables/llx_propaldet_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_propaldet_extrafields.sql | 0 htdocs/install/mysql/tables/llx_societe_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_societe_extrafields.sql | 0 htdocs/install/mysql/tables/llx_socpeople_extrafields.key.sql | 0 htdocs/install/mysql/tables/llx_socpeople_extrafields.sql | 0 49 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 htdocs/install/mysql/tables/llx_actioncomm_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_actioncomm_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_adherent_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_adherent_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_adherent_type_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_adherent_type_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_actioncomm.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_availability.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_barcode_type.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_input_method.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_input_method.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_input_reason.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_c_input_reason.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_commande_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_commande_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_commandedet_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_commandedet_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_facture_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_facture_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_facture_fourn_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_facture_fourn_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_facturedet_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_facturedet_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_fichinter_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_opensurvey_comments.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_opensurvey_comments.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_opensurvey_sondage.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_opensurvey_sondage.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_opensurvey_user_studs.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_opensurvey_user_studs.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_paiementcharge.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_product_association.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_product_association.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_product_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_product_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_projet_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_projet_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_projet_task_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_projet_task_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_propal_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_propal_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_propaldet_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_propaldet_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_societe_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_societe_extrafields.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_socpeople_extrafields.key.sql mode change 100755 => 100644 htdocs/install/mysql/tables/llx_socpeople_extrafields.sql diff --git a/htdocs/install/mysql/tables/llx_actioncomm_extrafields.key.sql b/htdocs/install/mysql/tables/llx_actioncomm_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_actioncomm_extrafields.sql b/htdocs/install/mysql/tables/llx_actioncomm_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_adherent_extrafields.key.sql b/htdocs/install/mysql/tables/llx_adherent_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_adherent_extrafields.sql b/htdocs/install/mysql/tables/llx_adherent_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_adherent_type_extrafields.key.sql b/htdocs/install/mysql/tables/llx_adherent_type_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_adherent_type_extrafields.sql b/htdocs/install/mysql/tables/llx_adherent_type_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_actioncomm.key.sql b/htdocs/install/mysql/tables/llx_c_actioncomm.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_availability.key.sql b/htdocs/install/mysql/tables/llx_c_availability.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_barcode_type.key.sql b/htdocs/install/mysql/tables/llx_c_barcode_type.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_input_method.key.sql b/htdocs/install/mysql/tables/llx_c_input_method.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_input_method.sql b/htdocs/install/mysql/tables/llx_c_input_method.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_input_reason.key.sql b/htdocs/install/mysql/tables/llx_c_input_reason.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_c_input_reason.sql b/htdocs/install/mysql/tables/llx_c_input_reason.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_commande_extrafields.key.sql b/htdocs/install/mysql/tables/llx_commande_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_commande_extrafields.sql b/htdocs/install/mysql/tables/llx_commande_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_commandedet_extrafields.key.sql b/htdocs/install/mysql/tables/llx_commandedet_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_commandedet_extrafields.sql b/htdocs/install/mysql/tables/llx_commandedet_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_extrafields.key.sql b/htdocs/install/mysql/tables/llx_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_extrafields.sql b/htdocs/install/mysql/tables/llx_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_facture_extrafields.key.sql b/htdocs/install/mysql/tables/llx_facture_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_facture_extrafields.sql b/htdocs/install/mysql/tables/llx_facture_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_facture_fourn_extrafields.key.sql b/htdocs/install/mysql/tables/llx_facture_fourn_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_facture_fourn_extrafields.sql b/htdocs/install/mysql/tables/llx_facture_fourn_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_facturedet_extrafields.key.sql b/htdocs/install/mysql/tables/llx_facturedet_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_facturedet_extrafields.sql b/htdocs/install/mysql/tables/llx_facturedet_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_fichinter_extrafields.key.sql b/htdocs/install/mysql/tables/llx_fichinter_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_opensurvey_comments.key.sql b/htdocs/install/mysql/tables/llx_opensurvey_comments.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_opensurvey_comments.sql b/htdocs/install/mysql/tables/llx_opensurvey_comments.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_opensurvey_sondage.key.sql b/htdocs/install/mysql/tables/llx_opensurvey_sondage.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_opensurvey_sondage.sql b/htdocs/install/mysql/tables/llx_opensurvey_sondage.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_opensurvey_user_studs.key.sql b/htdocs/install/mysql/tables/llx_opensurvey_user_studs.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_opensurvey_user_studs.sql b/htdocs/install/mysql/tables/llx_opensurvey_user_studs.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_paiementcharge.sql b/htdocs/install/mysql/tables/llx_paiementcharge.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_product_association.key.sql b/htdocs/install/mysql/tables/llx_product_association.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_product_association.sql b/htdocs/install/mysql/tables/llx_product_association.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_product_extrafields.key.sql b/htdocs/install/mysql/tables/llx_product_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_product_extrafields.sql b/htdocs/install/mysql/tables/llx_product_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_projet_extrafields.key.sql b/htdocs/install/mysql/tables/llx_projet_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_projet_extrafields.sql b/htdocs/install/mysql/tables/llx_projet_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_projet_task_extrafields.key.sql b/htdocs/install/mysql/tables/llx_projet_task_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_projet_task_extrafields.sql b/htdocs/install/mysql/tables/llx_projet_task_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_propal_extrafields.key.sql b/htdocs/install/mysql/tables/llx_propal_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_propal_extrafields.sql b/htdocs/install/mysql/tables/llx_propal_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_propaldet_extrafields.key.sql b/htdocs/install/mysql/tables/llx_propaldet_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_propaldet_extrafields.sql b/htdocs/install/mysql/tables/llx_propaldet_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_societe_extrafields.key.sql b/htdocs/install/mysql/tables/llx_societe_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_societe_extrafields.sql b/htdocs/install/mysql/tables/llx_societe_extrafields.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_socpeople_extrafields.key.sql b/htdocs/install/mysql/tables/llx_socpeople_extrafields.key.sql old mode 100755 new mode 100644 diff --git a/htdocs/install/mysql/tables/llx_socpeople_extrafields.sql b/htdocs/install/mysql/tables/llx_socpeople_extrafields.sql old mode 100755 new mode 100644