How can i get specific account data in the python code, for example, in profit and loss statement. “get_data” only accept root type not parent account.
I guess in the code, you can add field names and write logic to have values fetched into reports/doctypes. Perhaps you can check other reports like Trial Balance where parent account is also fetched. On the same lines, you can customize your report.