+ if (get_company_pref('company_logo_report') === null) { // available from 2.4.2, during updates
+ set_company_pref('company_logo_report', 'setup.company', 'tinyint', 1, '0');
+ }
+ if (get_company_pref('print_dialog_direct') === null) { // available from 2.4.5, during updates
+ set_company_pref('print_dialog_direct', 'setup.company', 'tinyint', 1, '0');
+ }
+ if (get_company_pref('barcodes_on_stock') === null) { // available from 2.4.3, during updates
+ set_company_pref('barcodes_on_stock', 'setup.company', 'tinyint', 1, '0');
+ }
+ if (get_company_pref('ref_no_auto_increase') === null) { // available from 2.4.4, during updates
+ set_company_pref('ref_no_auto_increase', 'setup.company', 'tinyint', 1, '0');
+ }
+ if (get_company_pref('shortname_name_in_list') === null) { // available from 2.4.2, during updates
+ set_company_pref('shortname_name_in_list', 'setup.company', 'tinyint', 1, '0');
+ }