Discard loading of chart of account
This commit is contained in:
parent
3ccf782b41
commit
ead08c17d8
@ -514,6 +514,8 @@ if ($action == "set")
|
||||
{
|
||||
if (preg_match('/\.sql$/i',$file) && preg_match('/^llx_/i',$file))
|
||||
{
|
||||
if (preg_match('/^llx_accounting_account_/')) continue; // We discard data file of chart of account. Will be loaded when a chart is selected.
|
||||
|
||||
//print 'x'.$file.'-'.$createdata.'<br>';
|
||||
if (is_numeric($createdata) || preg_match('/'.preg_quote($createdata).'/i',$file))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user