Skip to content

Commit

Permalink
Selecting pre-defined COA from setup.pl while creating company, the G…
Browse files Browse the repository at this point in the history
…IFI are not linked to the account because of name mismatch.

The new comapny configuration sent 'gifi_id' while db is expecting 'gifi_accno'.
  • Loading branch information
aungzwin10 committed Aug 26, 2021
1 parent 004d206 commit 2973f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LedgerSMB/Company/Configuration/Account.pm
Expand Up @@ -197,7 +197,7 @@ sub save {

$log->infof('Saving account %s (%s)', $self->accno, $self->description);
my ($row) = $self->call_dbmethod(funcname => 'account__save',
args => { heading => $self->heading_id });
args => { heading => $self->heading_id, gifi_accno => $self->gifi_id });
if ($self->recon) {
$self->call_dbmethod(funcname => 'cr_coa_to_account_save');
}
Expand Down

0 comments on commit 2973f3c

Please sign in to comment.