Merge branch '9.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts: htdocs/admin/tools/dolibarr_export.php htdocs/core/lib/functions.lib.php htdocs/core/lib/pdf.lib.php
This commit is contained in:
commit
ae6d536d1d
@ -224,6 +224,13 @@ if (in_array($type, array('mysql', 'mysqli'))) {
|
|||||||
print '<option value="POSTGRESQL">POSTGRESQL</option>';
|
print '<option value="POSTGRESQL">POSTGRESQL</option>';
|
||||||
print '</select>';
|
print '</select>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
print '<input type="checkbox" name="use_mysql_quick_param" value="yes" id="checkbox_use_quick" />';
|
||||||
|
print '<label for="checkbox_use_quick">';
|
||||||
|
print $form->textwithpicto($langs->trans('ExportUseMySQLQuickParameter'), $langs->trans('ExportUseMySQLQuickParameterHelp'));
|
||||||
|
print '</label>';
|
||||||
|
print '<br/>';
|
||||||
|
|
||||||
print '<!-- <input type="checkbox" name="drop_database" value="yes" id="checkbox_drop_database" />';
|
print '<!-- <input type="checkbox" name="drop_database" value="yes" id="checkbox_drop_database" />';
|
||||||
print '<label for="checkbox_drop_database">'.$langs->trans("AddDropDatabase").'</label>';
|
print '<label for="checkbox_drop_database">'.$langs->trans("AddDropDatabase").'</label>';
|
||||||
print '-->';
|
print '-->';
|
||||||
|
|||||||
@ -772,7 +772,10 @@ if ($massaction == 'confirm_createbills') // Create bills from orders
|
|||||||
$lines[$i]->fk_fournprice,
|
$lines[$i]->fk_fournprice,
|
||||||
$lines[$i]->pa_ht,
|
$lines[$i]->pa_ht,
|
||||||
$lines[$i]->label,
|
$lines[$i]->label,
|
||||||
$array_options
|
$array_options,
|
||||||
|
100,
|
||||||
|
0,
|
||||||
|
$lines[$i]->fk_unit
|
||||||
);
|
);
|
||||||
if ($result > 0)
|
if ($result > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -262,6 +262,7 @@ class Utils
|
|||||||
if (GETPOST("disable_fk", "alpha") || $usedefault) $param.=" -K";
|
if (GETPOST("disable_fk", "alpha") || $usedefault) $param.=" -K";
|
||||||
if (GETPOST("sql_compat", "alpha") && GETPOST("sql_compat", "alpha") != 'NONE') $param.=" --compatible=".escapeshellarg(GETPOST("sql_compat", "alpha"));
|
if (GETPOST("sql_compat", "alpha") && GETPOST("sql_compat", "alpha") != 'NONE') $param.=" --compatible=".escapeshellarg(GETPOST("sql_compat", "alpha"));
|
||||||
if (GETPOST("drop_database", "alpha")) $param.=" --add-drop-database";
|
if (GETPOST("drop_database", "alpha")) $param.=" --add-drop-database";
|
||||||
|
if (GETPOST("use_mysql_quick_param", "alpha"))$param.=" --quick";
|
||||||
if (GETPOST("sql_structure", "alpha") || $usedefault)
|
if (GETPOST("sql_structure", "alpha") || $usedefault)
|
||||||
{
|
{
|
||||||
if (GETPOST("drop", "alpha") || $usedefault) $param.=" --add-drop-table=TRUE";
|
if (GETPOST("drop", "alpha") || $usedefault) $param.=" --add-drop-table=TRUE";
|
||||||
|
|||||||
@ -178,6 +178,8 @@ Compression=Compression
|
|||||||
CommandsToDisableForeignKeysForImport=Command to disable foreign keys on import
|
CommandsToDisableForeignKeysForImport=Command to disable foreign keys on import
|
||||||
CommandsToDisableForeignKeysForImportWarning=Mandatory if you want to be able to restore your sql dump later
|
CommandsToDisableForeignKeysForImportWarning=Mandatory if you want to be able to restore your sql dump later
|
||||||
ExportCompatibility=Compatibility of generated export file
|
ExportCompatibility=Compatibility of generated export file
|
||||||
|
ExportUseMySQLQuickParameter=Use the --quick parameter
|
||||||
|
ExportUseMySQLQuickParameterHelp=The '--quick' parameter helps limit RAM consumption for large tables.
|
||||||
MySqlExportParameters=MySQL export parameters
|
MySqlExportParameters=MySQL export parameters
|
||||||
PostgreSqlExportParameters= PostgreSQL export parameters
|
PostgreSqlExportParameters= PostgreSQL export parameters
|
||||||
UseTransactionnalMode=Use transactional mode
|
UseTransactionnalMode=Use transactional mode
|
||||||
|
|||||||
@ -178,6 +178,8 @@ Compression=Compression
|
|||||||
CommandsToDisableForeignKeysForImport=Commande pour désactiver les clés étrangères à l'importation
|
CommandsToDisableForeignKeysForImport=Commande pour désactiver les clés étrangères à l'importation
|
||||||
CommandsToDisableForeignKeysForImportWarning=Requis si vous voulez être en mesure de restaurer votre « dump » SQL plus tard
|
CommandsToDisableForeignKeysForImportWarning=Requis si vous voulez être en mesure de restaurer votre « dump » SQL plus tard
|
||||||
ExportCompatibility=Compatibilité du fichier d'exportation généré
|
ExportCompatibility=Compatibilité du fichier d'exportation généré
|
||||||
|
ExportUseMySQLQuickParameter=Utiliser le paramètre --quick
|
||||||
|
ExportUseMySQLQuickParameterHelp=permet de limiter la consommation de mémoire vive (utile en cas de tables volumineuses)
|
||||||
MySqlExportParameters=Paramètres de l'exportation MySQL
|
MySqlExportParameters=Paramètres de l'exportation MySQL
|
||||||
PostgreSqlExportParameters= Paramètres de l'exportation PostgreSQL
|
PostgreSqlExportParameters= Paramètres de l'exportation PostgreSQL
|
||||||
UseTransactionnalMode=Utiliser le mode transactionnel
|
UseTransactionnalMode=Utiliser le mode transactionnel
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user