From 96f4b756eb5a03fbbb6a6fc49df0b8a4d0df569f Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 2 Sep 2008 15:26:51 +0200 Subject: [PATCH] Improvements bzr revid: fp@tinyerp.com-20080902132651-yuucw7n89r4cvb3k --- addons/account/account.py | 12 ++--- addons/account/account_invoice_view.xml | 2 +- addons/account/account_view.xml | 22 +++----- addons/account/data/account_data1.xml | 4 +- addons/account/data/account_minimal.xml | 52 ++++++++++++++++--- .../wizard/wizard_validate_account_move.py | 5 +- addons/base_vat/base_vat_data.xml | 9 ++-- addons/base_vat/partner.py | 13 +++-- addons/l10n_be/__terp__.py | 2 +- addons/mrp/mrp_view.xml | 25 ++++++--- addons/product/product_view.xml | 10 ++-- addons/purchase/purchase_view.xml | 2 +- addons/sale/sale_view.xml | 27 +++++----- 13 files changed, 113 insertions(+), 72 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 5b4f9dd01c5..cb4ad41e112 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -141,9 +141,8 @@ class account_account(osv.osv): context = {} pos = 0 while pos - + diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 6998e894c79..8466b472ed9 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -130,7 +130,7 @@ - + @@ -140,7 +140,7 @@ - Financial Accounts + List of Accounts account.account form tree,form @@ -155,8 +155,8 @@ child_id - + @@ -625,17 +625,9 @@ - + - - Entries in Open Journals - account.journal.period - tree - [('state','<>','done')] - - - @@ -702,7 +694,7 @@ - + @@ -752,7 +744,7 @@ - + @@ -1571,7 +1563,7 @@ - + diff --git a/addons/account/data/account_data1.xml b/addons/account/data/account_data1.xml index 0580265eb23..01a133b5a27 100644 --- a/addons/account/data/account_data1.xml +++ b/addons/account/data/account_data1.xml @@ -18,7 +18,7 @@ balance - View + Total Account view none @@ -69,4 +69,4 @@ none - \ No newline at end of file + diff --git a/addons/account/data/account_minimal.xml b/addons/account/data/account_minimal.xml index bb89c7d15b4..e406a2b808c 100644 --- a/addons/account/data/account_minimal.xml +++ b/addons/account/data/account_minimal.xml @@ -7,51 +7,87 @@ --> - 0 - Minimal account chart + x 0 + Chart For Automated Tests none 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 chart of account. + Main Receivable - 40 + 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. + Main Payable - 440 + x 440000 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. + Petty Cash - 57 + x 570000 cash + +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 Purchase - 600 + x 600000 expense + +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 - 701 + x 701000 income + +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. + @@ -74,4 +110,4 @@ - \ No newline at end of file + diff --git a/addons/account/wizard/wizard_validate_account_move.py b/addons/account/wizard/wizard_validate_account_move.py index 0cff628aaf5..9dfc349646d 100644 --- a/addons/account/wizard/wizard_validate_account_move.py +++ b/addons/account/wizard/wizard_validate_account_move.py @@ -34,10 +34,13 @@ import pooler from tools.translate import _ _journal_form = ''' -
+ + + +