Changes in average material cost from bom_edit to work_orders_db.
[fa-stable.git] / CHANGELOG.txt
1 /**
2 * @version $Id$
3 * @package FrontAccounting
4 * @copyright (C) 2005 - 2007 FrontAccounting
5 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
6 * FrontAccounting is Free Software
7 */
8
9 1. Changelog
10 ------------
11 This is a changelog for FrontAccounting All releases.
12
13 Legend:
14
15 # -> Bug Fix
16 + -> Addition
17 ! -> Change
18 - -> Removed
19 ! -> Note
20 $ -> Affected files
21
22 04-Mar-2008 Joe Hunt
23 ! Changed so that average item material price is automatic updated whenever a PO Delivery is received.
24   Changed so that a Bill of Materiel, Parent's material price, is automatic updated from underlying items.
25 $ /inventory/cost_update.php
26   /purchasing/includes/db/grn_db.inc and
27   /manufacturing/manage/bom_edit.php. 
28   /manufacturing/includes/db/work_orders_db.inc
29   /manufacturing/includes/db/work_orders_quick_db.inc
30   /manufacturing/work_order_entry.php
31   
32 21-Feb-2008 Joe Hunt
33 + Added Print for documents in /admin/view_print_transaction.php (according to our new routines).
34 $ /admin/view_print_transaction.php
35   /applications/setup.php
36   
37 17-Feb-2008 Joe Hunt
38 ! Minor change in menu and function in view_print_transaction.php
39 $ /admin/view_print_transaction.php
40   /application/setup.php
41 + Preparing for print of single documents
42 $ /reporting/includes/reporting.inc
43 ! Removing 'out' field in table tax_types
44 $ /sql/alter.sql
45   /taxes/tax_types.php
46   /taxes/db/tax_types_db.inc
47 + Added 2 functions in ui_input.inc, button and button_cell
48   /includes/ui/ui_input.inc
49
50 11-Feb-2008 Joe Hunt
51 + Added file, update_db.php, for updating company databases from an SQL script.
52 $ update_db.php (New file)
53   update.html
54   
55 06-Fef-2008 Joe Hunt
56 + Added Report, Salesman Listing, rep106.php. 
57 $ /reporting/reports_main.php
58   /reporting/rep106.php
59   
60 06-Feb-2008 Janusz Dobrowolski
61 + Separation of customer invoice issue and goods delivery.
62 + Batch invoicing for more than one delivery
63 # Corrected inadequate shipping tax calculations.
64 ! Default debugging status changed to off.
65 $ /taxes/tax_calc.inc
66   /taxes/db/tax_groups_db.inc
67   /admin/db/voiding_db.inc
68   /applications/customers.php
69   /includes/systypes.inc
70   /includes/types.inc
71   /includes/ui/ui_controls.inc
72   /includes/ui/ui_lists.inc
73   /includes/ui/ui_view.inc
74   /inventory/inquiry/stock_status.php
75   /reporting/rep105.php
76   /reporting/rep107.php
77   /reporting/rep109.php
78   /reporting/rep110.php 
79   /reporting/rep209.php
80   /reporting/reports_main.php
81   /reporting/includes/doctext.inc
82   /reporting/includes/doctext2.inc
83   /reporting/includes/form_types.inc
84   /reporting/includes/pdf_report.inc
85   /reporting/includes/reports_classes.inc
86   /sales/customer_credit_invoice.php
87   /sales/customer_invoice.php
88   /sales/sales_order_entry.php
89   /sales/customer_delivery.php 
90   /sales/includes/db/sales_delivery_db.inc 
91   /sales/includes/ui/print_invoice.inc 
92   /sales/includes/cart_class.inc
93   /sales/includes/sales_db.inc
94   /sales/includes/db/cust_trans_db.inc
95   /sales/includes/db/cust_trans_details_db.inc
96   /sales/includes/db/sales_credit_db.inc
97   /sales/includes/db/sales_invoice_db.inc
98   /sales/includes/db/sales_order_db.inc
99   /sales/includes/ui/sales_order_ui.inc
100   /sales/inquiry/customer_allocation_inquiry.php
101   /sales/inquiry/customer_inquiry.php
102   /sales/inquiry/sales_orders_view.php
103   /sales/inquiry/sales_deliveries_view.php 
104   /sales/view/view_dispatch.php
105   /sales/view/view_invoice.php
106   /sales/view/view_sales_order.php
107   /sql/alter.sql
108   config.php
109   
110 01-Feb-2008 Joe Hunt
111  ! Changed so sales orders can have more than one row with the same stock_id. In alter.sql.
112  $ /sales/includes/cart_class.inc
113    /sales/includes/db/sales_credit_db.inc
114    /sales/includes/db/sales_invoice_db.inc
115    /sales/includes/db/sales_order_db.inc
116    /sales/includes/db/cust_trans_details_db.inc
117    /sales/includes/ui/sales_order_ui.inc
118    /sales/includes/ui/sales_credit_ui.inc
119    /sales/credit_note_entry.php
120    /sales/customer_credit_invoice.php
121    /sales/sales_order_entry.php
122    /sales/customer_invoice.php
123
124 31-Jan-2008 Joe Hunt
125  ! New Release 2.0 Pre Alpha
126  $ config.php
127  # Fixed a release 2 related bug in create_coy.php
128  $ /admin/create_coy.php
129  + An alter.sql file to use for updating databases. Until the update_db.php is ready, you can use the install/update companies
130    and select the companies one by one and upload the alter.sql file to all companies. You can still run the release 2
131    with these databases changes without any new files. They are coming as soon as possible.
132  $ /sql/alter.sql (New file)  
133  # Fixed a release 2 related bug. A field in supp_trans_items were declared as integer(11). Changed to VARCHAR(11) in alter.sql
134    and 2 related files
135  $ /purchasing/supplier_trans_gl.php
136    /purchasing/includes/db/invoice_items_db.inc
137  ! Moved variables $no_item_list, $no_customer_list and $no_supplier_list in config.php to company table
138  $ /includes/ui/ui_lists.inc
139    /purchasing/includes/ui/po_ui.inc
140    /sales/includes/ui/sales_order_ui.inc
141    /admin/company_preferences.php
142    /admin/db/company_db.inc
143    config.php
144  + Created 3 new fields in salesman table for provision, break point and provision2. Included in alter.sql. 
145    Update sales_people.php.Preparing for a new Salesman report with provision etc. Selected with time range. Should be very good.
146  $ /sales/manage/sales_people.php
147    /includes/ui/ui_input.inc
148  
149 -------------------- 2,0 Pre Alpha - above ----------------------------
150 31-Jan-2008 Janusz Dobrowolski
151  # Minor bugfix in db_import()
152  $ /admin/db/maintenance_db.inc
153  
154 30-Jan-2008 Janusz Dobrowolski
155  # Minor display fix in tax_types.php
156  $ /taxes/tax_types.php
157  ! Format cleanup on some files.
158  $ /gl/includes/gl_db.inc
159    /gl/includes/gl_ui.inc
160    /applications/application.php
161    frontaccounting.php
162    index.php
163    
164 -------------------- 1.16 Stable Released ----------------------
165 28-Jan-2008 Joe Hunt
166  + Added a possibility to replace the normal listboxes for items, customer and/or suppliers with a search box.
167    The listboxes can only hold about 1000 items. New variables in config.php, $no_item_list, $no_customer_list 
168    and $no_supplier_list. Default is the normal behavior for all listboxes.
169  $ /includes/ui/ui_lists.inc
170    /sales/includes/ui/sales_orders_ui.inc
171    /purchases/includes/ui/po_ui.inc
172    /themes/default/images/locate.png (New file)
173    config.php
174
175  + Added ALTER TABLE possibility in db_import. For future releases.
176  $ /admin/db/maintenence_db.inc  
177
178  # Removed warnings 'Call-time pass-by-reference' in /includes/db/connect_db.inc and /includes/ui/ui_lists.inc
179  # Fixed File not found when loading local stylesheet.css (for other languages) in /includes/page/header.inc
180  $ /includes/db/connect_db.inc
181    /includes/ui/ui_lists.inc
182    /includes/page/header.inc
183    /access/login.php
184    
185 16-Jan-2008 Joe Hunt
186  # When login screen is displayed after session timeout page content is broken. It
187    is because of NOT using absolute paths in href attribute theme elements.
188  $ /access/login.php
189  
190 30-Dec-2007 Joe Hunt
191  # Minor adjustments in function db_export on line 325
192  $ /admin/db/maintenance_db.inc
193  
194 29-Dec-2007 Joe Hunt
195  + Added a variable, $print_invoice_no, in config.php for printing the invoice number instead of invoice reference.
196  $ config.php
197  
198  # Fixed a bug when exporting database. Exported NULL field values from NO to empty field (from mysql version 5.0.32).
199    Also fixed a unneccessary str_replace when importing sql scripts.
200  ! Changed the PDF presentation to deleting the Javascript cache before presentation.
201  $ /admin/db/maintenance_db.inc
202    /reporting/includes/pdf_report.inc
203    
204 13-Dec-2007 Joe Hunt
205  # Still bugs in trial balances and account inquiry on screen when selecting non balance accounts. Fixed.
206  $ /gl/inquiry/gl_trial_balance.php
207    /gl/inquiry/gl_account_inquiry.php
208
209 13-Dec-2007 Joe Hunt
210  # Fixed a bug when voiding a transaction (Journal Entry). An eventually underlying bank transfer was not voided.
211  $ /admin/db/voiding_db.inc
212  
213 06-Dec-2007 Joe Hunt
214  # Fixed a bug when adding lines during Payments to suppliers, the supplier was set back to the first.
215  $ /gl/gl_payment.php
216    /gl/includes/ui/gl_payment_ui.inc
217    
218  ! Changed $loc_notification to be set to 0 instead of 1.
219  $ config.php
220  
221 -------------------- 1.15 Stable Released ----------------------
222 05-Dec-2007 Joe Hunt
223  + Added email notification to stock location when available stock is below reorder level
224  $ config.php
225    /sales/includes/db/sales_order_db.inc
226    
227  # Fixed bugs in Open balances when account is not a balance account
228  $ /gl/inquiry/gl_trial_balance.php
229    /gl/inquiry/gl_account_inquiry.php
230    /reporting/rep704.php
231    /reporting/rep708.php
232    
233 -------------------- 1.14 Stable Released ----------------------
234 01-Oct-2007 Joe Hunt
235  ! Major change in the installation of modules to also accept an SQL-file for upload.
236  $ config.php
237    /admin/inst_module.php
238    /admin/db/maintenance_db.inc
239    
240 30-Sep-2007 Joe Hunt
241  # The following files were still vulnerable. Fixed
242  $ /access/login.php
243    /includes/lang/language.php
244
245 -------------------- 1.13 Stable Released ----------------------
246 14-Sep-2007 Joe Hunt
247  + Added optional link for electronic payment on invoices (PayPal). 
248  ! Better support for install/update languages.  
249  ! Minor adjustments
250  # Fixed a vulnerable item in config.php
251  $ config.php
252
253 14-Sep-2007 Joe Hunt
254  # We forgot to upload the PO file when installing new language. Used when GETTEXT is not installed on Server.
255  # config.php has been vulnerable. Fixed.
256  $ /admin/inst_lang.php
257  $ config.php
258  
259 10-Sep-2007 Joe Hunt
260  ! Changed Bank Address field from text to textarea (multirows)
261  $ /gl/manage/bank_accounts.php
262  
263 06-Sep-2007 Joe Hunt
264  + Added optional link for electronic payment on invoices (PayPal)
265  $ /reporting/reports_main.php
266    /reporting/rep107.php
267    /reporting/includes/report_classes.inc
268    /reporting/includes/pdf_report.inc
269    /reporting/includes/doc_text.inc
270    /reporting/includes/doc_text2.inc
271    
272 23-Aug-2007 Joe Hunt
273  # Unnecessary parameter ($db) in check_for_recursive_bom
274  $ /manufacturing/manage/bom_edit.php
275  
276 21-Aug-2007 Joe Hunt
277  # Bug in /includes/lang/gettext.php (249) affecting changing language!
278  $ /includes/lang/gettext.php
279  
280 08-Aug-2007 Joe Hunt
281  # Minor adjustments
282  $ config.php
283    /access/login.php
284    /admin/create_coy.php
285    /reporting/includes/pdf_report.inc
286    
287 04-Aug-2007 Joe Hunt
288  + Added a default fiscal year in the en_US-new.sql and start references.
289  $ /sql/en_US-new.sql
290  ! Changed some specific text strings in en_US.po (E.g. TAX instead of VAT)
291  $ /lang/en_US/LC_MESSAGES/en_US.mo
292  
293 03-Aug-2007 Joe Hunt
294  # A bug in Direct Invoicing (wrong Invoice Date) has been fixed.
295  $ /sales/includes/db/sales_order_db.inc
296  
297 23-Jul-2007 Joe Hunt
298  # Changed <? in front of 2 files to <?php.
299  $ /purchasing/includes/purchasing_ui.inc
300    /reporting/includes/class.mail.inc
301    
302 -------------------- 1.12 Stable Released ----------------------
303 21-Jul-2007 Joe Hunt
304  + Added option to handle Jalali and Islamic Calendars
305  ! Minor adjustments
306  $ config.php
307    /gl/includes/db/gl_db_trans.inc
308    /includes/date_functions.inc
309    /includes/ui/ui_input.inc
310    /includes/ui/ui_lists.inc
311    /includes/ui/ui_view.inc
312    /purchasing/po_receive_items.php
313    /purchasing/includes/ui/invoice_ui.inc
314    /purchasing/includes/ui/po_ui.inc
315    /reporting/rep705.php
316    /sales/includes/db/sales_order_db.inc
317    /sales/includes/ui/sales_order_ui.inc
318    
319 20-Jul-2007 Joe Hunt
320  ! Changed parameters on report Sales Order. Option to print as Quote.
321  $ /reporting/reports_main.php
322    /reporting/rep109.php
323    /reporting/includes/pdf_report.inc
324    /reporting/includes/doctext.inc
325    /reporting/includes/doctext2.inc
326  
327 19-Jul-2007 Joe Hunt
328  + Added Budget Entry in General Ledger. Includes Dimensions.
329  $ config.php
330    /applications/generalledger.php
331    /gl/gl_budget.php (New File!)
332    /gl/includes/db/gl_db_trans.inc
333    /includes/date_functions.inc
334    /reporting/report_classes.inc
335    
336 -------------------- 1.11 Stable Released ----------------------
337 04-Jul-2007 Joe Hunt
338  ! Option for using alpha numeric chart of accounts.
339  $ config.php
340    /gl/manage/gl_accounts.php
341    /gl/includes/db/gl_db_accounts.inc
342    /gl/includes/db/gl_db_bank_trans.inc
343    /gl/includes/db/gl_db_trans.inc
344    /gl/inquiry/gl_trial_balance.inc
345    /admin/db/company_db.inc
346    /inventory/includes/db/items_db.inc
347    /sales/manage/customer_branches.inc
348
349 04-Jul-2007 Joe Hunt
350  # Problems retrieving language texts for poEdit in long javascripts
351  $ /includes/ui/ui_view.inc
352  
353 04-May-2007 Joe Hunt
354  # Database error when updating more than one item row in Sales Orders.
355  $ /sales/includes/db/sales_order_db.inc
356  # Database error when inserting work order issues. Fixed.
357  $ /manufacturing/includes/db/work_order_issues_db.inc
358  
359 03-May-2007 Joe Hunt
360  # Multiple tables and JOIN's have syntax changes in MySQL 5.0.12. Need parentheses.
361  $ /includes/db/manufacturing_db.inc
362    /manufacturing/includes/db/work_order_requirements_db.inc
363
364 02-May-2007 Joe Hunt
365  # Missing details on Purchase Order when emailing and printing
366  $ /reporting/rep209.php
367  
368 -------------------- 1.1 Stable Released ----------------------
369 02-May-2007 Joe Hunt
370  + Enabled module addons and all the below bugfixes. No changes in database structure.
371  - Removed /sql/basic.sql (included in the other sql files)
372  - Removed /themes/default/images/left.gif and /themes/default/images/right.gif 
373    (not needed anymore).
374  + Addition of update.html  
375  $ /admin/inst_module.php (New file!)
376    /applications/customers.php
377    /applications/dimensions.php
378    /applications/generalledger.php
379    /applications/inventory.php
380    /applications/manufacturing.php
381    /applications/setup.php
382    /applications/suppliers.php
383    /install/index.php
384    /install/save.php
385    /modules/inst_modules.php (New folder and new file!)
386    /modules/index.php (New file!)
387    /sql/en_US-demo.sql
388    /sql/en_US-new.sql
389    install.html
390    update.html (New file!)
391    
392 01-May-2007 Joe Hunt
393  # Missing measure of units when printing sales orders
394  # Update of Sales People caused a database error
395  $ /sales/manage/sales_people.php
396    /reporting/rep109.php
397  
398 30-Apr-2007 Joe Hunt
399  + The selected menu tab is now shown with same background as hover color.
400  $ config.php (default tab line 77. Change if you want)
401    /includes/page/header.inc
402    
403 28-Apr-2007 Joe Hunt
404  # When saving work order entries a lot of debug boxes appeared. Fixed
405  # When clicking on the link, Issue, on work order inquires an empty screen appeared. Fixed
406  # When retrieving work centres id's there was a database error. Fixed by casting string to unsigned
407  $ /includes/db/manufacturing_db.inc
408    /manufacturing/work_order_entry.php
409    /manufacturing/includes/work_order_issue_ui.inc
410    /manufacturing/includes/db/work_order_requirements_db.inc
411    /manufacturing/includes/db/work_orders_quick_db.inc
412    /manufacturing/inquiry/where_used_inquiry.php
413    
414 25-Apr-2007 Joe Hunt
415  # Missing Date Picker
416  $ /sales/customer_invoice.php
417  # No JS popup window
418  $ /sales/view/view_invoice.php
419  
420 24-Apr-2007 Joe Hunt
421  ! New and better Date Picker, better cool theme.
422  $ /includes/ui/ui_input.inc
423    /includes/ui/ui_view.inc
424    /reporting/includes/reports_classes.inc
425    /themes/cool/default.css
426
427 -------------------- 1.0.1 Stable Released ----------------------
428 23-Apr-2007 Joe Hunt
429  ! Release 1.0.1 established on SourceForge, fixing the bugs and including a Date Picker,
430    the changes for selection lists customers/suppliers and the Audit Trail.
431
432 22-Apr-2007 Joe Hunt
433  ! Changed the two selection lists for customers/suppliers in reports to a single one with
434    No Filter
435  ! Changed the sort order in these selection lists from id to name.
436  + Added Audit Trail in GL trans. A switch in config.php, $use_audit_trail, must be set to 1.
437  $ /reporting/reports_main.php
438    /reporting/rep101.php
439    /reporting/rep102.php
440    /reporting/rep201.php
441    /reporting/rep202.php
442    /reporting/rep203.php
443    /reporting/rep204.php
444    /reporting/includes/reports_classes.inc
445    /includes/ui/ui_lists.inc
446    /gl/includes/db/gl_db_trans.inc
447    config.php
448    
449 22-Apr-2007 Joe Hunt
450  + Date Picker for all date fields.
451  $ config.php
452    /admin/fiscalyears.php
453    /admin/void_transaction.php
454    /includes/ui/ui_view.inc
455    /includes/ui/ui_input.inc
456    /dimensions/dimension_entry.php
457    /dimensions/inquiry/search_dimensions.php
458    /gl/gl_journal.php
459    /gl/gl_deposit.php
460    /gl/gl_payment.php
461    /gl/bank_transfer.php
462    /gl/inquiry/bank_inquiry.php
463    /gl/inquiry/gl_account_inquiry.php
464    /gl/inquiry/gl_trial_balance.php
465    /gl/manage/exchange_rates.php
466    /inventory/adjustments.php
467    /inventory/transfers.php
468    /inventory/inquiry/stock_movements.php
469    /inventory/manage/items.php
470    /manufacturing/work_order_add_finished.php
471    /manufacturing/work_order_entry.php
472    /manufacturing/work_order_issue.php
473    /manufacturing/work_order_release.php
474    /purchasing/supplier_payment.php
475    /purchasing/po_entry_items.php
476    /purchasing/po_receive_items.php
477    /purchasing/supplier_credit.php
478    /purchasing/supplier_credit_grns.php
479    /purchasing/supplier_invoice.php
480    /purchasing/supplier_invoice_grns.php
481    /purchasing/supplier_trans_gl.php
482    /purchasing/includes/ui/po_ui.inc
483    /purchasing/inquity/po_search.php
484    /purchasing/inquiry/po_search_completed.php
485    /purchasing/inquiry/supplier_allocation_inquiry.php
486    /purchasing/inquiry/supplier_inquiry.php
487    /reporting/reports_main.php
488    /reporting/includes/reports_classes.inc
489    /sales/credit_note_entry.php
490    /sales/customer_credit_invoice.php
491    /sales/customer_payments.php
492    /sales/sales_order_entry.php
493    /sales/includes/ui/sales_order_ui.inc
494    /sales/inquiry/customer_allocation_inquiry.php
495    /sales/inquiry/customer_inquiry.php
496    /sales/inquiry/sales_orders_view.php
497    New image files:
498    /themes/default/images/cal.gif
499    /themes/default/images/next.gif
500    /themes/default/images/prev.gif
501
502 19-Apr-2007 Joe Hunt
503  # Bug no 1703895, Account numbers are varchars, need quotes, fixed
504  # Bug no 1703891, Reserved MySQL words used as column names, fixed
505  $ /taxes/db/tax_types_db.inc
506
507  # Bug no 1703888, Apostrophes and other unescaped characters, fixed
508  $ /gl/manage/gl_accounts.php
509    /gl/includes/db/gl_db_accounts.inc
510    /includes/ui/ui_input.inc
511
512 18-Apr-2007 Joe Hunt
513  # Bug no 1702594, Logon Loop, fixed
514  $ config.php
515
516 -------------------- 1.0a Stable Released ----------------------
517 10-Apr-2007 Joe Hunt
518  ! Release 1.0a established on SourceForge, fixing the bugs.
519
520 11-Apr-2007 Joe Hunt
521  # Bug No 1698214, Creating Items, fixed
522  $ /includes/ui/ui_lists.inc
523  # Bug no 1698216, Item Movements, fixed
524  $ /inventory/manage/items.php
525
526 -------------------- 1.0 Stable Released ----------------------
527 10-Apr-2007 Joe Hunt
528  ! Release 1.0 established on SourceForge.
529
530 2. Copyright and disclaimer
531 ---------------------------
532 This application is opensource software released under the GPL.  Please
533 see source code and the LICENSE file