[0004212] Work Order Entry: fixed error when voided WO refence is reused.
[fa-stable.git] / update.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head>
3
4
5 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=iso-8859-1"><title>FrontAccounting Update</title>
6 <meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)">
7 <meta name="CREATED" content="0;0">
8 <meta name="CHANGED" content="20100902;19041400"></head><body style="direction: ltr;" lang="en-US">
9 <h4><strong><font color="#cc6600"><font style="font-size: 20pt;" size="5"><i>Front</i></font></font></strong><strong><font style="font-size: 20pt;" size="5">Accounting
10 Update</font></strong></h4>
11 <h2>Important Notes for release 2.4.1.</h2>
12 <h3>This is a preliminary FrontAccounting ERP 2.4.1 release. </h3>
13 This version provides a couple of new important features (in addition to all the <br>
14 features merged from latest 2.3.26 release), but main development effort was <br>
15 focused on internal architecture changes and cleanups to make future FA development <br>
16 easier. <br>
17 <br>
18 At the time of release most of optional extension modules available from central<br>
19 extensions repo has been also ported to 2.4 and should be mostly usable. Most Themes are<br>
20 updated and many new Themes are available.<br>
21 <br>
22 Due to deep changes made under the hood, we highly encourage all current FA 2.3 users<br>
23 to make test upgrades on a copy of your working installation connected to separate database<br>
24 filled with your real company data. This will allow us find and fix any possible<br>
25 upgrade issues before final 2.4 release. Please report any bugs/problems found via our <br>
26 Mantis Bugtracker at http://mantis.frontaccounting.com.<br>
27 <h3>Download instructions</h3>
28 In Sourceforge FrontAccounting (http://sourceforge.net/projects/frontaccounting), select <br>
29 Files -&gt; FrontAccounting 2.4 -&gt;2.4.1.<br>
30 <br>
31 For Windows users select the zip file. For all other users select the tar.gz file.<br>
32 <h3>Notice for certain Windows wamp servers.</h3>
33 Due to experienced long upgrade time for release 2.3 databases to release 2.4 on certain wamp <br>
34 servers, we just ask you to be patience. It might take a while, but should&nbsp; end successfully. <br>
35 <h4>New global flags in config.php (config-default.php):</h4>
36 /* Optional popup search enabled if this is true. $max_rows_in_search = 10 <br>
37
38 &nbsp;&nbsp;&nbsp; is used for maximum rows in search */<br>
39
40 <span style="font-weight: bold;">$use_popup_search = true;</span><br>
41
42 <span style="font-weight: bold;">$max_rows_in_search = 10;</span><br>
43
44 <h2>Important Notes for release 2.3.22.</h2>
45
46
47
48
49 <h4>New global flags in config.php (config-default.php):</h4>
50 /* Show average costed values instead of fixed standard cost */ In Enventory Valuation Report.<br>
51 <span style="font-weight: bold;">$use_costed_values = 0;</span><br>
52 <br>
53 /* Print Item Images on Sales Quotations. Set to 1 if so. */<br>
54 <span style="font-weight: bold;">$print_item_images_on_quote = 0;</span><br>
55 <h2>Important Notes for release 2.3.21.</h2>
56
57 <h4>Crucial security patches:</h4>
58
59 This version consists of crucial security patches and this applies especially to all publicly available servers, <br>
60 &nbsp;f.i. installations which are run in not fully trusted environment like public demos, shared accounts or SAAS.<br>
61 <h4>New global flags in config.php (config-default.php):</h4>
62 /* Whether to allow sending new password by e-mail */<br>
63 <span style="font-weight: bold;">$allow_password_reset = false</span><h2>Important Notes for release 2.3.20.</h2>
64
65 <h4>Crucial security patches:</h4>
66 This version consists of crucial security patches and all guest FA
67 installations (I mean whenever FA is run in not fully trusted
68 environment) should be updtaed.<br>
69 <h2>Important Notes for release 2.3.17.</h2>
70
71 <h4>New global flags in config.php (config-default.php):</h4>
72 /*<br>
73 &nbsp;&nbsp;&nbsp; Choose Exchange Rate Provider<br>
74 &nbsp;&nbsp;&nbsp; Default is ECB for backwards compatibility<br>
75 */<br>
76 <span style="font-weight: bold;">$xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");<br>
77 $dflt_xr_provider = 0;<br>
78 <br>
79 </span>/*<br>
80 &nbsp;&nbsp;&nbsp; Set to true when remote service is authoritative
81 source of exchange rates, and can be stored automatically without<br>
82 &nbsp;&nbsp;&nbsp; manual edition. Otherwise exrate is stored on first new currency transaction of the day.<br>
83 */<br>
84 <span style="font-weight: bold;">$xr_provider_authoritative = false;<br>
85 </span><h2>Important Notes for release 2.3.16.</h2>
86 <h4>New global flags in config.php (config-default.php):</h4><span style="font-weight: bold;">/*<br>&nbsp;&nbsp; </span>&nbsp;Optional sorting new sales documents lines according to item code<span style="font-weight: bold;"><br>*/<br>$sort_sales_items = false;<br><br>/*<br>&nbsp;&nbsp; &nbsp;</span>Trial Balance opening balance presentation option.<br>&nbsp;&nbsp; &nbsp;When set to true past years part of opening balance is cleared.<span style="font-weight: bold;"><br>*/<br>$clear_trial_balance_opening = false;</span><h2>Important Notes for release 2.3.14.</h2>
87 <h4>New global flags in config.php (config-default.php):</h4>
88 /* default print orientation. 0 = Portrait, 1 = Landscape */<br>
89 &nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$def_print_orientation
90 = 0;</span><br>
91 <h2>Important Notes for release 2.3.13.</h2>
92 <h4>New global flags in config.php (config-default.php):</h4>
93 /* No check on edit conflicts. Maybe needed to be set to 1 in certains
94 Windows Servers */<br>
95 &nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$no_check_edit_conflicts
96 = 0;</span><br>
97 <h2>Important Notes for release 2.3.12.</h2>
98 <h4>New global flags in config.php (config-default.php):</h4>
99 /* <br>
100 &nbsp;&nbsp;&nbsp; Display a dropdown select box for
101 choosing Company to login if false.<br>
102 &nbsp;&nbsp;&nbsp; Show a blank editbox only if true where
103 the Company NickName<br>
104 &nbsp;&nbsp;&nbsp; will have to be manually entered. This
105 is when privacy is needed.<br>
106 */<br>
107 &nbsp; &nbsp; <span style="font-weight: bold;">$text_company_selection</span>&nbsp;
108 = false;<br>
109 <br>
110 /*&nbsp; Should FA hide menu items (Applications, Modules, and
111 Actions) from the user if they don't have access to them? <br>
112 &nbsp;&nbsp;&nbsp; 0 for
113 no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 for yes<br>
114 */<br>
115 <br>
116 &nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$hide_inaccessible_menu_items</span>
117 = 0;<br>
118 <br>
119 /*<br>
120 &nbsp;&nbsp;&nbsp; Brute force prevention.<br>
121 &nbsp;&nbsp;&nbsp; $login_delay seconds delay is required
122 between login attempts after $login_max_attemps failed logins.<br>
123 &nbsp;&nbsp;&nbsp; Set $login_delay to 0 to disable the
124 feature (not recommended)<br>
125 */<br>
126 &nbsp; &nbsp; <span style="font-weight: bold;">$login_delay</span>
127 = 30;<br>
128 &nbsp; &nbsp; <span style="font-weight: bold;">$login_max_attempts</span>
129 = 10;
130 <h2><strong></strong>Important Notes for release
131 2.3.5.</h2>
132 Change in the behaviour of <span style="font-weight: bold; font-style: italic;">Recurrent
133 Invoices</span>.<br>
134 <ul>
135 <li>Now
136 the Last Sent day is stamped with the former Last Sent (or Begin date
137 the first time) + months + days. Before the Last Sent day was stamped
138 with tthe creation date (today). The Invoice date is still todays date.
139 </li>
140 <li>If you for some reason want to make a pause in the
141 recurrent
142 invoices, you can now edit the Last Sent day in the Management section
143 of Sales tab.</li>
144 <li>Before the days value, together with a month
145 value, decided which day in the month the invoice was due..
146 &nbsp;This
147 does not&nbsp;work now. You can&nbsp;change the day in the
148 month you
149 want the recurrency to happen by setting the Last Sent day with the new
150 day in the Management section.&nbsp;</li>
151 <li>If you create a new Recurrent Invoice the Beginning date
152 can be set to the day in the month you want the recurrencies to be due.</li>
153 </ul>
154 <h2>Important Notes</h2>
155 <p>Upgrade process can be done only by administrator of the first
156 company created during FrontAccounting installation. This person is
157 considered as a site admin who have granted access to potentially
158 dangerous setup options, like Setup/Software Upgrade.</p>
159 <p>In the following description sections related to older FA
160 versions are
161 prefixed with <span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[color
162 tags]</span><span style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">
163 . Y</span>ou can skip tagged fragment safely if currently FA
164 application is newer than the version in tag.</p>
165 <p>Upgrade process consists of up to four stages, some of them
166 are
167 optional:</p>
168 <ol>
169 <li>
170 <p>Application source files update </p>
171 </li>
172 <li>
173 <p>Database upgrade &#8211; this step is needed only during upgrade
174 which involves change in major application version number (e.g. from
175 2.2.x to 2.3.x), and sometimes during upgrade from beta release to
176 stable version. Otherwise this step can be skipped.</p>
177 </li>
178 <li>
179 <p>Final cleanup &#8211; is needed when some old source files,
180 obsoleted by new release should be removed.</p>
181 </li>
182 <li>
183 <p>New features configuration &#8211; this is optional step needed
184 for most major releases and some minor ones. </p>
185 </li>
186 </ol>
187 <p style="margin-bottom: 0cm;">Before starting upgrade
188 ensure nobody
189 is using the application and make database backup for all companies.
190 To be on safe side backup also old source files, especially those
191 locally customized (if any).</p>
192 <p>Log into admin account of first company.<strong> </strong><strong><span style="">If
193 you use a theme other than the standard 3 (aqua, cool or default),
194 switch to one of these before going further.</span></strong></p>
195 <h2><strong><b>1. Application files update</b></strong></h2>
196 <p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4"><strong><span style="">a. Source
197 files update</span></strong></font></font></p>
198 <p><strong><span style="">Extract distribution
199 zip/tar.gz file in empty directory, and copy all the files to your
200 FrontAccounting directory overwriting old files. If it is major
201 release upgrade you can skip next step and go directly to cleanup.</span></strong></p>
202 <p style="margin-top: 0.42cm; page-break-after: avoid;"><strong><font face="Liberation Sans, sans-serif"><font size="4"><span style="">b. Configuration
203 files update</span></font></font></strong></p>
204 <p><strong><span style="">Compare new
205 </span></strong><strong><i><b>config.default.php</b></i></strong><strong>
206 </strong><strong><span style="">file with the
207 old
208 </span></strong><strong><i><b>config.php </b></i></strong><strong><span style="font-style: normal;"><span style="">and
209 add all n</span></span></strong><strong><span style="">ew
210 settings (if any). </span></strong>
211 </p>
212 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
213 2.2beta]</span></span></strong></p>
214 <p><strong> <span style="">$show_users_online
215 = 0;</span></strong></p>
216 <p><strong> <span style="">$def_print_destination
217 = 0;</span></strong></p>
218 <p><strong><span style="">$dflt_date_fmt=0;</span></strong></p>
219 <p><strong><span style="">$dflt_date_sep=0;</span></strong></p>
220 <p><strong><span style="">$table_style,table_style2
221 changed</span></strong></p>
222 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
223 2.3beta]</span></span></strong></p>
224 <p><strong> <span style="">$alternative_tax_include_on_doc=0;</span></strong></p>
225 <p><strong><span style="">$suppress_tax_rates
226 = 0;</span></strong></p>
227 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
228 2.3RC1]</span></span></strong><strong> </strong>
229 </p>
230 <p><strong><span style="">Application version
231 information and a couple of other private FA variables are stored in
232 </span></strong><strong><i><b>version.php</b></i></strong><strong>
233 </strong><strong><span style="">file. The
234 application version displayed in footer is defined in $version
235 variable unless this is set in config.php file. If you want current
236 release version to be displayed on every FA update just remove or
237 comment out $version variable in </span></strong><strong><span style="font-style: normal;"><span style="">config.php</span></span></strong><strong><span style="">.</span></strong></p>
238 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
239 2.3RC2]</span></span></strong></p>
240 <p><strong> <span style="">$save_report_selections
241 &nbsp;= 0; &nbsp;// A value &gt; 0 means days to save the
242 report selections.</span></strong></p>
243 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
244 2.3]</span></span></strong></p>
245 <p><strong> <span style="">$save_po_item_codes
246 &nbsp;= 0; &nbsp;//&nbsp; show item codes on purchase
247 order&nbsp;</span></strong></p>
248 <p><strong><span style="">$def_print_destination
249 = 0; // &nbsp;default print destination. 0 = PDF/Printer, 1 = Excel</span></strong></p>
250 <p><strong><span style="">$alternative_tax_include_on_docs
251 = 0; // &nbsp;1 = print Subtotal tax excluded, tax and Total tax
252 included</span></strong></p>
253 <p><strong><span style="">$suppress_tax_rates
254 = 0; // &nbsp;suppress tax rates on documents. 0 = no, 1 = yes.</span></strong></p>
255 <strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></strong><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></strong>
256 <h2><strong><b>2. Database upgrade</b></strong></h2>
257 <p><strong><span style="">This step can be
258 skipped
259 for small version updates i.e. when you have already installed
260 FrontAccounting version 2.3.1 or later. Before database upgrade is
261 done on all company databases backup file is created automatically to
262 enable database restore after failure.</span></strong></p>
263 <p><strong><span style="">After major version
264 upgrade overwriting files in first step makes the system unaccessible
265 for all users but site admin, who have to run upgrade procedures to
266 update all company databases to the new version provided with the
267 release. After logging to administrator account of first installed
268 company go directly to Setup/Software Upgrade screen, mark all
269 subsequent 'Install' checkboxes and press 'Upgrade System'.</span></strong></p>
270 <p style="">If something goes wrong during
271 upgrade, you can eventually try forced upgrade option. Forced upgrade
272 ignores some smaller errors which can arise during upgrade due to
273 some exotic database configuration. This is depreciated option, so
274 first read error messages if any, try to fix signalized problems,
275 restore databases from backup and retry normal installation. To run
276 upgrade in forced mode check box 'Force Upgrade', and press 'Upgrade
277 System' again.</p>
278 <h2>3. Final cleanup</h2>
279 <p>Remove or rename install folder in main FrontAccounting
280 directory.
281 </p>
282 <p>After upgrade is installed you can remove files obsoleted by
283 new
284 FrontAccounting version. Also old, unused settings <span style="font-style: normal;"><span style="">can
285 be removed from </span></span><i><b>config.php</b></i><span style="font-style: normal;"><span style="">
286 file.</span></span></p>
287 <p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4">a.
288 Source files cleanup</font></font></p>
289 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
290 2.2beta]</span></span></strong></p>
291 <p><strong><span style=""><span style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">/includes/reserved.inc
292 &#8211; removed.</span></span></strong></p>
293 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
294 2.1]</span></span></strong><strong> </strong>
295 </p>
296 <p><strong><span style="">/admin/db/v_banktrans.inc
297 - removed</span></strong></p>
298 <p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4"><span style="font-style: normal;"><span style="">b.
299 Config.php cleanup </span></span></font></font>
300 </p>
301 <p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA
302 2.2RC1]</span></span></strong><strong> </strong>
303 </p>
304 <p><strong><span style="">$security_headings,
305 $security_groups arrays &#8211; moved to database (see Access Setup) </span></strong>
306 </p>
307 <p><strong><span style="">$def_app &#8211; moved
308 to user configuration in database.</span></strong></p>
309 <p><strong><span style="font-style: normal;"><span style="">$version
310 &#8211; moved to </span></span></strong><strong><i><b>version.php</b></i></strong><strong><span style="font-style: normal;"><span style="">
311 file. Remove</span></span></strong></p>
312 <h2>4. New features configuration</h2>
313 <p>During upgrade process new features are initialized to default
314 status, and sometimes old settings are also changed to conform with
315 new security policy. This automatic process is designed to be as
316 neutral for end users as possible, however sometimes site or company
317 admin intervention can be necessary to set thing after changes to
318 their best state. Below you will find description of new settings
319 available after upgrade.</p>
320 <p><br>
321 <br>
322 </p>
323 <p>----------------------</p>
324 <ul>
325 </ul>
326 </body></html>