diff --git a/addons/account/account_unit_test.xml b/addons/account/account_unit_test.xml index 77b461a6fdd..97fba380214 100644 --- a/addons/account/account_unit_test.xml +++ b/addons/account/account_unit_test.xml @@ -52,6 +52,8 @@ + + diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 78cb6cadd7e..21b13a244d8 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -196,13 +196,33 @@ - + + + account.account.list + account.account + tree + child_id + + + + + + + + + + + + + + Accounts account.account form tree,form,graph + @@ -216,14 +236,12 @@ - - - + @@ -237,10 +255,10 @@ + Account Journal Columns + --> account.journal.column.form diff --git a/addons/account/demo/account_minimal.xml b/addons/account/demo/account_minimal.xml index a1f3204b7f0..abae5562b2c 100644 --- a/addons/account/demo/account_minimal.xml +++ b/addons/account/demo/account_minimal.xml @@ -62,92 +62,218 @@ - - x 0 + + + X0 Chart For Automated Tests - + view - -This chart of account is used for automated testing purpose. It is installed -only if you selected demo data during your database creation. Modules can -do black box testing on entries on this chart of account, without modifying -your own accounts. - - - Main Receivable - x 40000 - receivable - - - - - -This chart of account is used for automated testing purpose. It is installed -only if you selected demo data during your database creation. Modules can -do black box testing on entries on this chart of account, without modifying -your own chart of account. - + + + + + X1 + Balance Sheet - (test) + + view + - - Main Payable - x 44000 - payable - - - - - -This chart of account is used for automated testing purpose. It is installed -only if you selected demo data during your database creation. Modules can -do black box testing on entries on this chart of account, without modifying -your own chart of account. - + + + Assets - (test) + X10 + view + + + - - Petty Cash - x 57000 - other - - - - -This chart of account is used for automated testing purpose. It is installed -only if you selected demo data during your database creation. Modules can -do black box testing on entries on this chart of account, without modifying -your own chart of account. - + + + Liabilities - (test) + X11 + view + + + - - Products Purchase - x 60000 - other - - - - -This chart of account is used for automated testing purpose. It is installed -only if you selected demo data during your database creation. Modules can -do black box testing on entries on this chart of account, without modifying -your own chart of account. - - - - Products Sales - x 70000 - other - - - - -This chart of account is used for automated testing purpose. It is installed -only if you selected demo data during your database creation. Modules can -do black box testing on entries on this chart of account, without modifying -your own chart of account. - + + + X100 + Fixed Assets - (test) + + view + + + X1000 + Fixed Asset Account - (test) + + other + + + + + X101 + Net Current Assets - (test) + + view + + + + + X1100 + Current Assets - (test) + + view + + + + + X11001 + Purchased Stocks - (test) + + other + + + + + X11002 + Debtors - (test) + + receivable + + + + + + X11003 + Output VAT - (test) + + other + + + + + X11004 + Bank Current Account - (test) + + other + + + + + X11005 + Cash - (test) + + other + + + + + X110 + Current Liabilities - (test) + + view + + + + + X1111 + Creditors - (test) + + payable + + + + + + X1112 + Input VAT - (test) + + other + + + + + + + X2 + Profit and Loss - (test) + + view + + + + + Income - (test) + X20 + view + + + + + + + Expense - (test) + X21 + view + + + + + + + X200 + Revenue - (test) + + view + + + + + X2001 + Product Sales - (test) + + other + + + + + X210 + Cost of Sales - (test) + + view + + + + + X2100 + Cost of Goods Sold - (test) + + other + + + + + X211 + Overheads - (test) + + view + + + + + X2110 + Expenses - (test) + + other + + + + property_account_receivable @@ -174,7 +300,7 @@ your own chart of account. --> - x Sales Journal + Sales Journal - (test) SAJ sale @@ -185,7 +311,7 @@ your own chart of account. - x Sales Credit Note Journal + Sales Credit Note Journal - (test) SCNJ sale_refund @@ -196,7 +322,7 @@ your own chart of account. - x Expenses Journal + Expenses Journal - (test) EXJ purchase @@ -207,7 +333,7 @@ your own chart of account. - x Expenses Credit Notes Journal + Expenses Credit Notes Journal - (test) ECNJ purchase_refund @@ -218,7 +344,7 @@ your own chart of account. - x Bank Journal + Bank Journal - (test) BNK cash @@ -228,7 +354,7 @@ your own chart of account. - x Checks Journal + Checks Journal - (test) CHK cash diff --git a/addons/account/wizard/account_chart.py b/addons/account/wizard/account_chart.py index 440dbd407ec..c9cc5ff7bd5 100644 --- a/addons/account/wizard/account_chart.py +++ b/addons/account/wizard/account_chart.py @@ -33,7 +33,7 @@ class account_chart(osv.osv_memory): help = 'Keep empty for all open fiscal years'), 'target_move': fields.selection([('all', 'All Entries'), ('posted', 'All Posted Entries')], 'Target Moves', required = True), - } + } def _get_fiscalyear(self, cr, uid, context=None): """Return default Fiscalyear value""" diff --git a/addons/account/wizard/account_chart_view.xml b/addons/account/wizard/account_chart_view.xml index b621019dbe6..d29bffb833d 100644 --- a/addons/account/wizard/account_chart_view.xml +++ b/addons/account/wizard/account_chart_view.xml @@ -1,36 +1,34 @@ - - + account.chart.form account.chart form
- - - + -