From fc97015a62575a4839e32f921af109561d71502f Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Wed, 15 Sep 2010 11:40:46 +0530 Subject: [PATCH] [IMP] Account: Rename surplus to profit/loss bzr revid: mra@mra-laptop-20100915061046-d0v0p9mc8xe9vy2j --- addons/account/account.py | 2 +- addons/account/company.py | 2 +- addons/account/company_view.xml | 4 +- addons/account/configurable_account_chart.xml | 86 +++++++++---------- addons/account/demo/account_minimal.xml | 2 +- .../wizard/account_report_balance_sheet.py | 4 +- .../l10n_chart_uk_minimal/l10n_uk_chart.xml | 4 +- addons/l10n_in/l10n_in_chart.xml | 6 +- 8 files changed, 55 insertions(+), 55 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index b1c19476548..f461be1b2ed 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2361,7 +2361,7 @@ class account_chart_template(osv.osv): 'property_account_income_categ': fields.many2one('account.account.template','Income Category Account'), 'property_account_expense': fields.many2one('account.account.template','Expense Account on Product Template'), 'property_account_income': fields.many2one('account.account.template','Income Account on Product Template'), - 'property_reserve_and_surplus_account': fields.many2one('account.account.template', 'Reserve and Surplus Account', domain=[('type', '=', 'payable')] , help='This Account is used for transferring Profit/Loss(If It is Profit : Amount will be added, Loss : Amount will be deducted.), Which is calculated from Profilt & Loss Report'), + 'property_reserve_and_surplus_account': fields.many2one('account.account.template', 'Reserve and Profit/Loss Account', domain=[('type', '=', 'payable')] , help='This Account is used for transferring Profit/Loss(If It is Profit : Amount will be added, Loss : Amount will be deducted.), Which is calculated from Profilt & Loss Report'), } account_chart_template() diff --git a/addons/account/company.py b/addons/account/company.py index 0fe56fca859..873a65c415e 100644 --- a/addons/account/company.py +++ b/addons/account/company.py @@ -29,7 +29,7 @@ class res_company(osv.osv): 'account.account', type='many2one', relation='account.account', - string="Reserve and Surplus Account", + string="Reserve and Profit/Loss Account", method=True, view_load=True, domain="[('type', '=', 'payable')]", diff --git a/addons/account/company_view.xml b/addons/account/company_view.xml index 692c7960bbf..a9e6815f975 100644 --- a/addons/account/company_view.xml +++ b/addons/account/company_view.xml @@ -15,7 +15,7 @@ - + res.company.form.inherit @@ -24,7 +24,7 @@ - + diff --git a/addons/account/configurable_account_chart.xml b/addons/account/configurable_account_chart.xml index ecffb6cef12..58399db3111 100644 --- a/addons/account/configurable_account_chart.xml +++ b/addons/account/configurable_account_chart.xml @@ -125,7 +125,7 @@ view - + 10 Fixed Assets @@ -133,7 +133,7 @@ view - + 100 Fixed Asset Account @@ -141,7 +141,7 @@ other - + 11 Net Current Assets @@ -149,7 +149,7 @@ view - + 110 Current Assets @@ -157,7 +157,7 @@ view - + 1101 Purchased Stocks @@ -165,7 +165,7 @@ other - + 1102 Debtors @@ -174,7 +174,7 @@ - + 1103 Tax Paid @@ -182,7 +182,7 @@ other - + 1104 Bank Current Account @@ -190,7 +190,7 @@ view - + 111 Current Liabilities @@ -198,7 +198,7 @@ view - + 1111 Creditors @@ -207,7 +207,7 @@ - + 1112 Tax Received @@ -215,17 +215,17 @@ other - + 1113 - Reserve and Surplus Account + Reserve and Profit/Loss Account payable - - + + @@ -243,7 +243,7 @@ view - + 200 Product Sales @@ -251,7 +251,7 @@ other - + 21 Cost of Sales @@ -259,7 +259,7 @@ view - + 210 Cost of Goods Sold @@ -267,7 +267,7 @@ other - + 22 Overheads @@ -275,7 +275,7 @@ view - + 220 Expenses @@ -317,7 +317,7 @@ Tax Received Rate S (15%) - + Tax Received Rate R (5%) @@ -327,14 +327,14 @@ Tax Received Rate X (Exempt) - + Tax Received Rate O (Out of scope) - + Tax Paid @@ -344,7 +344,7 @@ Tax Paid Rate S (15%) - + Tax Paid Rate R (5%) @@ -354,7 +354,7 @@ Tax Paid Rate X (Exempt) - + Tax Paid Rate O (Out of scope) @@ -362,9 +362,9 @@ - + - + Tax Bases @@ -379,7 +379,7 @@ Taxable Purchases Rated S (15%) - + Taxable Purchases Rated R (5%) @@ -389,34 +389,34 @@ Taxable Purchases Type X (Exempt) - + Taxable Purchases Type O (Out of scope) - + Base of Taxable Sales - + Taxable Sales Rated S (15%) - + Taxable Sales Rated R (5%) - + Taxable Sales Type X (Exempt) - + Taxable Sales Type O (Out of scope) @@ -550,19 +550,19 @@ sale - - - + + + - - + + Normal Taxes - + Tax Exempt @@ -587,7 +587,7 @@ - + @@ -595,7 +595,7 @@ - - + + diff --git a/addons/account/demo/account_minimal.xml b/addons/account/demo/account_minimal.xml index 9a60eebced5..d925dfa02ed 100644 --- a/addons/account/demo/account_minimal.xml +++ b/addons/account/demo/account_minimal.xml @@ -199,7 +199,7 @@ X1113 - Reserve and Surplus - (test) + Reserve and Profit/Loss - (test) payable diff --git a/addons/account/wizard/account_report_balance_sheet.py b/addons/account/wizard/account_report_balance_sheet.py index ebe3b4c8ba8..30ee28d17ff 100644 --- a/addons/account/wizard/account_report_balance_sheet.py +++ b/addons/account/wizard/account_report_balance_sheet.py @@ -34,7 +34,7 @@ class account_bs_report(osv.osv_memory): _columns = { 'display_type': fields.boolean("Landscape Mode"), - 'reserve_account_id': fields.many2one('account.account', 'Reserve & Surplus Account',required = True, + 'reserve_account_id': fields.many2one('account.account', 'Reserve & Profit/Loss Account',required = True, help='This Account is used for trasfering Profit/Loss(If It is Profit : Amount will be added, Loss : Amount will be duducted.), Which is calculated from Profilt & Loss Report', domain = [('type','=','payable')]), } @@ -60,7 +60,7 @@ class account_bs_report(osv.osv_memory): data = self.pre_print_report(cr, uid, ids, data, query_line, context=context) account = self.pool.get('account.account').browse(cr, uid, data['form']['chart_account_id']) if not account.company_id.property_reserve_and_surplus_account: - raise osv.except_osv(_('Warning'),_('Please define the Reserve and Surplus account for current user company !')) + raise osv.except_osv(_('Warning'),_('Please define the Reserve and Profit/Loss account for current user company !')) data['form']['reserve_account_id'] = account.company_id.property_reserve_and_surplus_account.id data['form'].update(self.read(cr, uid, ids, ['display_type'])[0]) if data['form']['display_type']: diff --git a/addons/l10n_chart_uk_minimal/l10n_uk_chart.xml b/addons/l10n_chart_uk_minimal/l10n_uk_chart.xml index 63b11c6c58d..f367d8b5739 100644 --- a/addons/l10n_chart_uk_minimal/l10n_uk_chart.xml +++ b/addons/l10n_chart_uk_minimal/l10n_uk_chart.xml @@ -56,7 +56,7 @@ 1113 - Reserve and Surplus Account + Reserve and Profit/Loss Account other @@ -173,7 +173,7 @@ - 200 + 200 Revenue view diff --git a/addons/l10n_in/l10n_in_chart.xml b/addons/l10n_in/l10n_in_chart.xml index 3a043231d0f..9272fe4e18d 100644 --- a/addons/l10n_in/l10n_in_chart.xml +++ b/addons/l10n_in/l10n_in_chart.xml @@ -268,7 +268,7 @@ - Reserve and Surplus Account + Reserve and Profit/Loss Account IA_AC0232 other @@ -366,7 +366,7 @@ - + Opening Stock IA_AC114 @@ -494,6 +494,6 @@ - +