From bb217dcc3506a35d65c30faeb5953c6da58f7bbc Mon Sep 17 00:00:00 2001 From: "atp (Open ERP)" Date: Fri, 26 Feb 2010 19:04:27 +0530 Subject: [PATCH] [IMP] Docstring added bzr revid: atp@tinyerp.co.in-20100226133427-x1ywimv1y0ugirmm --- addons/account/account_view.xml | 2 + addons/account/wizard/account_chart.py | 9 +-- addons/account/wizard/account_chart_view.xml | 33 ++++++++++ .../wizard/account_fiscalyear_close_state.py | 63 +++++++++++++++++++ .../wizard/account_fiscalyear_close_state.xml | 34 ++++++++++ .../account/wizard/account_invoice_refund.py | 6 +- .../wizard/account_invoice_refund_view.xml | 37 +++++++++++ .../wizard/account_move_bank_reconcile.py | 8 +-- .../account_move_bank_reconcile_view.xml | 31 +++++++++ addons/account/wizard/account_move_journal.py | 8 ++- .../wizard/account_move_journal_view.xml | 33 ++++++++++ .../account_move_line_reconcile_select.py | 10 +-- ...ccount_move_line_reconcile_select_view.xml | 32 ++++++++++ addons/account/wizard/account_period_close.py | 10 +-- .../wizard/account_period_close_view.xml | 33 ++++++++++ 15 files changed, 327 insertions(+), 22 deletions(-) create mode 100644 addons/account/wizard/account_chart_view.xml create mode 100644 addons/account/wizard/account_fiscalyear_close_state.py create mode 100644 addons/account/wizard/account_fiscalyear_close_state.xml create mode 100644 addons/account/wizard/account_invoice_refund_view.xml create mode 100644 addons/account/wizard/account_move_bank_reconcile_view.xml create mode 100644 addons/account/wizard/account_move_journal_view.xml create mode 100644 addons/account/wizard/account_move_line_reconcile_select_view.xml create mode 100644 addons/account/wizard/account_period_close_view.xml diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index d28748b4efb..b0bdeebbb89 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -1008,6 +1008,7 @@ + @@ -1080,6 +1081,7 @@ groups="group_account_user"/> + diff --git a/addons/account/wizard/account_chart.py b/addons/account/wizard/account_chart.py index b83b477596d..f30efa1fe27 100644 --- a/addons/account/wizard/account_chart.py +++ b/addons/account/wizard/account_chart.py @@ -41,10 +41,11 @@ class account_chart(osv.osv_memory): def _account_chart_open_window(self, cr, uid, ids, context): """ - cr is the current row, from the database cursor, - uid is the current user’s ID for security checks, - ID is the account chart’s ID or list of IDs if we want more than one - This function Open account chart window on given fiscalyear and all Entries or posted entries + + @param cr: the current row, from the database cursor, + @param uid: the current user’s ID for security checks, + @param id: the account chart’s ID or list of IDs if we want more than one + @return: dictionary of Open account chart window on given fiscalyear and all Entries or posted entries """ for form in self.read(cr, uid, ids): mod_obj = self.pool.get('ir.model.data') diff --git a/addons/account/wizard/account_chart_view.xml b/addons/account/wizard/account_chart_view.xml new file mode 100644 index 00000000000..a3838a5483c --- /dev/null +++ b/addons/account/wizard/account_chart_view.xml @@ -0,0 +1,33 @@ + + + + + account.chart.form + account.chart + form + +
+ + + + + +