@@ -213,4 +213,11 @@ INSERT INTO `zz_views` (`id_module`, `name`, `query`, `order`, `search`, `slow`,
213213
214214INSERT INTO ` zz_views_lang` (` id_record` , ` id_lang` , ` name` , ` help` ) VALUES
215215((SELECT ` zz_views` .` id` FROM ` zz_views` INNER JOIN ` zz_modules` ON ` zz_views` .` id_module` = ` zz_modules` .` id` WHERE ` zz_modules` .` name` = ' Preventivi' AND ` zz_views` .` name` = ' Sede destinazione' ), ' 1' , ' Sede destinazione' , ' ' ),
216- ((SELECT ` zz_views` .` id` FROM ` zz_views` INNER JOIN ` zz_modules` ON ` zz_views` .` id_module` = ` zz_modules` .` id` WHERE ` zz_modules` .` name` = ' Preventivi' AND ` zz_views` .` name` = ' Sede destinazione' ), ' 2' , ' Destination address' , ' ' );
216+ ((SELECT ` zz_views` .` id` FROM ` zz_views` INNER JOIN ` zz_modules` ON ` zz_views` .` id_module` = ` zz_modules` .` id` WHERE ` zz_modules` .` name` = ' Preventivi' AND ` zz_views` .` name` = ' Sede destinazione' ), ' 2' , ' Destination address' , ' ' );
217+
218+ -- #1706 - Pre-selezione barcode automatico
219+ INSERT INTO ` zz_settings` (` id` , ` nome` , ` valore` , ` tipo` , ` editable` , ` sezione` ) VALUES (NULL , ' Genera barcode automaticamente' , ' 0' , ' boolean' , ' 1' , ' o' );
220+
221+ INSERT INTO ` zz_settings_lang` (` id` , ` id_lang` , ` id_record` , ` title` , ` help` ) VALUES
222+ (NULL , ' 1' , (SELECT ` id` FROM ` zz_settings` WHERE ` nome` = ' Genera barcode automaticamente' ), ' Genera barcode automaticamente' , ' ' ),
223+ (NULL , ' 2' , (SELECT ` id` FROM ` zz_settings` WHERE ` nome` = ' Genera barcode automaticamente' ), ' Generate barcode automatically' , ' ' );
0 commit comments