Re: FA v2.4 development
A bunch of changes have been pushed from the dev's repos to the FA 2.4 Unstable Hg repo a few days ago.
The reports display error on Windows listed in the 22nd post (has fix there as well) in this thread still exists. The devs have been informed.
The current snapshot of FA v2.4 does not install out of the box for the demo CoA since in the sql/en_US-demo.sql there is an Error in field type change in it's line 836:
`type_no` `type_no` int(11) NOT NULL default '0',
which should be:
`type_no` int(11) NOT NULL default '0',
The Devs have been informed.
Here is a short list of changes in the Unstable FA 2.4 codebase since my last reporting post:
Changes in db schema gl_trans.type_no optimized to int, changed lock_stock.reorder_level type to double.
Added dimension edition on purchase invoice entry.
Files affected
purchasing/includes/ui/invoice_ui.inc
purchasing/includes/ui/po_ui.inc
purchasing/includes/db/invoice_db.inc
purchasing/includes/db/invoice_items_db.inc
purchasing/includes/supp_trans_class.inc
purchasing/includes/po_class.inc
purchasing/includes/purchasing_db.inc
sql/en_US-new.sql
Field Type changes:
0_gl_trans.type_no bigint(16) default 1 => int(11) default 0
0_loc_stock.reorder_level bigint(20) => int(11)
Appended 2 new fields to 0_supp_invoice_items:
`dimension_id` int(11) NOT NULL DEFAULT '0',
`dimension2_id` int(11) NOT NULL DEFAULT '0',
sql/en_US-demo.sql
Same as above.
Demo data INSERT statements extended with 0 values for the 2 new fields in 0_supp_invoice_items
sql/alter2.4.sql: UPDATE and ALTER statements for the above changes
reporting/includes/class.mail.inc: Cleanup and preparing for XLS extension
gl/manage/bank_accounts.php: Better Error Message when trying to use GL Accounts with transactions
reporting/includes/reporting.inc: Wrong no. of parameters for Invoice (rep107)
includes/ui/ui_controls.inc: $timeout parameter added to function meta_forward()
includes/db/inventory_db.inc: Removed unused function update_stock_move_pid()
purchasing/includes/db/invoice_db.inc: Removed commented out function update_stock_move_pid() usage
Fixed initialization of company specific settings in SysPrefs:
includes/prefs/sysprefs.inc: New function refresh_company_prefs() added
(Devs: spelling mistakes in a few places for the word 'preferences')
$_SESSION['SysPrefs']->db_ok becomes $SysPrefs->db_ok in
includes/session.inc
sales/sales_order_entry.php
admin/db/company_db.inc
Added mysql query retry after database deadlock detection.
includes/db/connect_db.inc: New constant MAX_DEADLOCK_RETRY defined
The 2 db driver files use it:
includes/db/connect_db_mysqli.inc
includes/db/connect_db_mysql.inc
Small cleanup to branch name length in input form and printouts.
Affected files - can be backported:
Attachments were not moved to new transaction after edition for some document types.
admin/db/attachments_db.inc: New function move_trans_attachments() added
Used in:
gl/includes/db/gl_db_banking.inc
sales/includes/db/sales_invoice_db.inc
sales/includes/db/sales_delivery_db.inc
purchasing/includes/db/invoice_db.inc
includes/access_levels.inc: Additional access control related ui helpers added - check_edit_access, access_post, access_num