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 Accountsaccount.accountformtree,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 Accountviewnone
@@ -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 Testsnoneview
+
+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 40000receivable
+
+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 440000payable
+
+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 570000cash
+
+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 600000expense
+
+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 701000income
+
+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 = '''
-'''
_journal_fields = {
diff --git a/addons/base_vat/base_vat_data.xml b/addons/base_vat/base_vat_data.xml
index fcbebe2bd4b..a813d24f6b1 100644
--- a/addons/base_vat/base_vat_data.xml
+++ b/addons/base_vat/base_vat_data.xml
@@ -7,10 +7,11 @@
res.partner
-
-
-
-
+
+
+
+
+
diff --git a/addons/base_vat/partner.py b/addons/base_vat/partner.py
index 4c815bd7243..f7b3c5c4831 100644
--- a/addons/base_vat/partner.py
+++ b/addons/base_vat/partner.py
@@ -34,19 +34,18 @@
#
from osv import osv
+from osv import fields
class res_partner(osv.osv):
_inherit = 'res.partner'
-
+
def check_vat(self, cr, uid, ids):
'''
Check the VAT number depending of the country.
http://sima-pc.com/nif.php
'''
for partner in self.browse(cr, uid, ids):
- if not partner.vat_subject:
- continue
if not partner.vat:
continue #FIXME return False? empty vat numbre is invalid?
@@ -58,8 +57,14 @@ class res_partner(osv.osv):
return True
+ def vat_change(self, cr, uid, ids, value, context={}):
+ return {'value': {'vat_subjected': bool(value)}}
+
+ _columns = {
+ 'vat_subjected': fields.boolean('Subjected', help="Check this box if the partner is subjected to the VAT. It will be used for the VAT legal statement.")
+ }
_constraints = [(check_vat, "The VAT doesn't seem to be correct.", ["vat"])]
-
+
# code from the following methods come from Tryton (B2CK)
# http://www.tryton.org/hgwebdir.cgi/modules/relationship/file/544d1de586d9/party.py
def check_vat_at(self, vat):
diff --git a/addons/l10n_be/__terp__.py b/addons/l10n_be/__terp__.py
index d3464b2226b..fbff112510c 100644
--- a/addons/l10n_be/__terp__.py
+++ b/addons/l10n_be/__terp__.py
@@ -35,7 +35,7 @@
"account_chart"],
"init_xml" : [],
"demo_xml" : ["account_demo.xml","account.report.report.csv"],
- "update_xml" : ["../account_chart/account_chart.xml", "account_pcmn_belgium.xml","l10n_be_wizard.xml", "l10n_be_sequence.xml"],
+ "update_xml" : ["account_pcmn_belgium.xml","l10n_be_wizard.xml", "l10n_be_sequence.xml"],
"installable": True
}
diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml
index f4f85c082a9..a1890d1e990 100644
--- a/addons/mrp/mrp_view.xml
+++ b/addons/mrp/mrp_view.xml
@@ -277,7 +277,7 @@
- BoM Structure
+ Bill of Material Structureir.actions.act_windowmrp.bomtree
@@ -285,18 +285,27 @@
-
-
- BoM Lines
+
+ New Bill of Materialsir.actions.act_windowmrp.bomform
-
+ form,tree
+ [('bom_id','=',False)]
-
+
+
+
+ Bill of Materials Components
+ ir.actions.act_window
+ mrp.bom
+ form
+ [('bom_id','<>',False)]
+
+
- Bill of Materials Architecture
+ Bill of Materials Structureir.actions.act_windowmrp.bom[('id','in',active_ids)]
@@ -306,7 +315,7 @@
- Bill of Material Architecture
+ Bill of Materials Structure
diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml
index aed5604555e..46c726d923c 100644
--- a/addons/product/product_view.xml
+++ b/addons/product/product_view.xml
@@ -44,7 +44,7 @@
-
+
@@ -53,11 +53,11 @@
-
+
-
-
-
+
+
+
diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml
index 11f6554b2fb..4b2ca210767 100644
--- a/addons/purchase/purchase_view.xml
+++ b/addons/purchase/purchase_view.xml
@@ -161,7 +161,7 @@
-
+
diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml
index 0f54ee93f49..893c6597086 100644
--- a/addons/sale/sale_view.xml
+++ b/addons/sale/sale_view.xml
@@ -101,7 +101,7 @@
-
+
@@ -208,6 +208,15 @@
+
+ New Sale Order / Quotation
+ ir.actions.act_window
+ sale.order
+ form
+ form,tree
+
+
+
Sales in Exception
@@ -345,7 +354,7 @@
-
+
@@ -372,7 +381,7 @@
ir.actions.act_windowsale.order.lineform
-
+
@@ -396,22 +405,10 @@
-
- All Sale Order Lines
- ir.actions.act_window
- sale.order.line
- form
- tree,form
-
-
-
-
-
-