Skip to content

Commit

Permalink
Fix hierarchy coa heading doesn't set its parent
Browse files Browse the repository at this point in the history
account_heading_save accept the arg named in_parent not parent_id
  • Loading branch information
aungzwin10 committed Oct 1, 2021
1 parent 9cd91e1 commit 937de1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LedgerSMB/Company/Configuration/Heading.pm
Expand Up @@ -119,7 +119,7 @@ sub save {
my ($row) = $self->call_dbmethod(
funcname => 'account_heading_save',
args => {
parent_id => $self->heading_id,
parent => $self->heading_id,
});
return $self->_id($row->{account_heading_save});
}
Expand Down

0 comments on commit 937de1a

Please sign in to comment.