Topic: Retained Earnings and Profit/Loss Year issue
I am from Romania and I am trying to set up the General GL, but I have no knowledge of accounting, so I am trying to figure out how it should be configured.
I am trying to set up Retained Earnings and Profit/Loss Year accounts but I keep getting the error
"The Retained Earnings Account should be a Balance Account or the Profit and Loss Year Account should be an Expense Account (preferred the last one in the Expense Class)"
I cheeked the code and the condition for this error is
if (!is_account_balancesheet(get_post('retained_earnings_act')) || is_account_balancesheet(get_post('profit_loss_year_act')))
As best of my understanding, the condition and the error message are in opposition. The problem is that I do not know what is correct? Is the error message correct (condition should be &&) or is the condition correct (error text should be with AND instead of OR)