Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account sub-headings not linking to parent heading #7802

Closed
howardlowndes opened this issue Dec 10, 2023 · 2 comments · Fixed by #7803
Closed

Account sub-headings not linking to parent heading #7802

howardlowndes opened this issue Dec 10, 2023 · 2 comments · Fixed by #7803
Labels
type:bug Bug that will be worked on as resources permit type:regression Functionality that broke over the last release cycle (1.5.x -> 1.5.y or 1.5.x -> 1.6.0)

Comments

@howardlowndes
Copy link

Version

Version 1.11.4

What browsers are you seeing the problem on?

This problem isn't browser related

What happened?

I am trying to set up a CoA in the subject version and I am setting up the headings before I set up the accounts in order to be sure of the structure that I want. I notice that the sub-heading levels are not linking to the relevant parent despite the previously created headings being displayed in the drop down and being selected.

SQL follows:

PlayAMS=# select * from account_heading;
                         PlayAMS
 id | accno | parent_id |     description     | category 
----+-------+-----------+---------------------+----------
  1 | 1     |           | ASSETS              | 
  2 | 2     |           | LIABILITIES         | 
  3 | 3     |           | EQUITY              | 
  4 | 4     |           | INCOME              | 
  5 | 5     |           | EXPENSES            | 
  6 | 1.10  |           | HUME BANK           | 
  7 | 1.20  |           | NON-BANK            | 
  8 | 1.40  |           | PLANT & MACHINERY   | 
  9 | 1.50  |           | OFFICE EQUIPMENT    | 
 10 | 1.60  |           | INVENTORY           | 
 11 | 1.30  |           | ACCOUNTS RECEIVABLE | 
(11 rows)

Rows 6 thru 11 should all have the value "1" in the parent_id field.

2023-12-10-211558_1360x768_scrot

What should have happened?

The parent selected from the presented drop down list should be written into the parent_id field.

@ehuelsmann
Copy link
Member

Thanks for filing. I'll have a look at it right now.

@ehuelsmann ehuelsmann added type:regression Functionality that broke over the last release cycle (1.5.x -> 1.5.y or 1.5.x -> 1.6.0) type:bug Bug that will be worked on as resources permit labels Dec 10, 2023
ehuelsmann added a commit to ehuelsmann/LedgerSMB that referenced this issue Dec 10, 2023
ehuelsmann added a commit to ehuelsmann/LedgerSMB that referenced this issue Dec 10, 2023
@ehuelsmann
Copy link
Member

This will be released as part of 1.11.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Bug that will be worked on as resources permit type:regression Functionality that broke over the last release cycle (1.5.x -> 1.5.y or 1.5.x -> 1.6.0)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants