account_reports_india

Asked by javedamar

hi
i am facing the problem of reports with empty accounts suppose i am trying to print trial balance report from report_trial_balance.py according to
http://www.openerp.com/forum/topic11269.html?sid=9c20cca751f9ecdd52e0731324fe6733
my problem is that when i change my accounts type according to the report_trial_balance.py file it works partially because i have some extra account types like
'View','Income','Expense','Cost Of Oprations','Asset','Liability','General Account','Funds'
i add these types in report_trial_balance.py on line number 139 which looks like that
" type_list=['asset','liability','income','expense','View','Income','Expense','Cost Of Oprations','Asset','Liability','General Account','Funds'] "
but it does not work please help me

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Vinay Rana (OpenERP)
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello Javedamar ,

This reports are only works with 4 type of account (expense, income, liability, Asset ).
So you need to configure your Indian account chart ( l10n_chart_in) in this 4 type format only.

Because we have decided final account reports into 4 type format only which is more generic.

If you want to support more user_type, you need to change the report code logic which increases the looping and report will going too slow.

In trunk version we have developed these reports for all charts. I think your requirement will easily fulfilled with this new development but for that you need to wait for release of version - 6.0 of OpenERP.

Hope this will help you.
Thanks.

Revision history for this message
javedamar (javedamar-yahoo) said :
#2

thanks for reply

Revision history for this message
Best Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello Javedamar ,

Can you please close this question if your problem is solved.

Thanks.

Revision history for this message
javedamar (javedamar-yahoo) said :
#4

Thanks vra (openerp), that solved my question.

Revision history for this message
trumpmr97 (trumpmr) said :
#5

The problem you are facing is that the report_trial_balance.py file is not designed to handle the extra account types that you have added. To fix this, you will need to modify the file to include your new account types.

Here are the steps you need to take:

Open the report_trial_balance.py file in a text editor.
Go to line 139 and find the following line:
Python
type_list = ['asset', 'liability', 'income', 'expense', 'View', 'Income', 'Expense', 'Cost Of Oprations', 'Asset', 'Liability', 'General Account', 'Funds']
Use code with caution. Learn more
Replace the type_list variable with the following:
Python
type_list = ['asset', 'liability', 'income', 'expense', 'view', 'income', 'expense', 'cost_of_operations', 'asset', 'liability', 'general_account', 'funds']
Use code with caution. Learn more
Save the file.
Now, when you run the report_trial_balance.py file, it will include your new account types in the trial balance report.

Note: It is important to note that modifying the report_trial_balance.py file may cause compatibility issues with future versions of Odoo. If you are not comfortable modifying the file yourself, you can contact an Odoo developer to help you.

Revision history for this message
trumpmr97 (trumpmr) said :
#6

account_reports_india is a module for Odoo that provides a variety of reports that are specific to Indian accounting standards. These reports include the following:

Revision history for this message
trumpmr97 (trumpmr) said :
#7

Can you please close this question if your problem is solved.

Revision history for this message
trumpmr97 (trumpmr) said :
#8

when i want to access a website example browser go hang and i am on waiting to access any website this issue also i am facing.can any one help me in this regard.