diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py
index 55a0285576f..cce4bf85c80 100644
--- a/addons/account/__terp__.py
+++ b/addons/account/__terp__.py
@@ -22,10 +22,11 @@
{
- 'name': 'Accounting and financial management',
- 'version': '1.0',
- 'category': 'Generic Modules/Accounting',
- 'description': """Financial and accounting module that covers:
+ "name" : "Accounting and financial management",
+ "version" : "1.1",
+ "depends" : ["product", "base", "process"],
+ "author" : "Tiny",
+ "description": """Financial and accounting module that covers:
General accounting
Cost / Analytic accounting
Third party accounting
diff --git a/addons/account/account.py b/addons/account/account.py
index a883755f7e4..dece8d18b21 100644
--- a/addons/account/account.py
+++ b/addons/account/account.py
@@ -154,7 +154,7 @@ class account_account(osv.osv):
args[pos] = ('id','in',ids1)
pos+=1
- if context and context.has_key('consolidate_childs'): #add concolidated childs of accounts
+ if context and context.has_key('consolidate_childs'): #add consolidated childs of accounts
ids = super(account_account,self).search(cr, uid, args, offset, limit,
order, context=context, count=count)
for consolidate_child in self.browse(cr, uid, context['account_id']).child_consol_ids:
@@ -170,7 +170,7 @@ class account_account(osv.osv):
ids3 = []
for rec in self.browse(cr, uid, ids2, context=context):
for child in rec.child_consol_ids:
- ids3.append[child.id]
+ ids3.append(child.id)
if ids3:
ids3 = self._get_children_and_consol(cr, uid, ids3, context)
return ids2+ids3
diff --git a/addons/account/invoice.py b/addons/account/invoice.py
index 64a1c31da64..8a5cc00589e 100644
--- a/addons/account/invoice.py
+++ b/addons/account/invoice.py
@@ -383,6 +383,8 @@ class account_invoice(osv.osv):
cr.execute("DELETE FROM account_invoice_tax WHERE invoice_id=%s", (id,))
for taxe in ait_obj.compute(cr, uid, id).values():
ait_obj.create(cr, uid, taxe)
+ # Update the stored value (fields.function), so we write to trigger recompute
+ self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
return True
def button_compute(self, cr, uid, ids, context=None, set_total=False):
diff --git a/addons/account_analytic_analysis/__terp__.py b/addons/account_analytic_analysis/__terp__.py
index 01aacd1b4ae..b45b828c2a8 100644
--- a/addons/account_analytic_analysis/__terp__.py
+++ b/addons/account_analytic_analysis/__terp__.py
@@ -28,14 +28,17 @@
'description': """Modify account analytic view to show
important data for project manager of services companies.
Add menu to show relevant information for each manager.""",
- 'author': 'Camptocamp',
- 'website': 'http://www.camptocamp.com/',
- 'depends': ['account', 'hr_timesheet', 'hr_timesheet_invoice', 'project'],
- 'init_xml': [],
- 'update_xml': [
- 'security/ir.model.access.csv',
- 'account_analytic_analysis_view.xml',
- 'account_analytic_analysis_menu.xml'
+ "version" : "1.1",
+ "author" : "Camptocamp",
+ "category" : "Generic Modules/Accounting",
+ "module": "",
+ "website": "http://www.camptocamp.com/",
+ "depends" : ["account","hr_timesheet","hr_timesheet_invoice","project"],
+ "init_xml" : [],
+ "update_xml" : [
+ "security/ir.model.access.csv",
+ "account_analytic_analysis_view.xml",
+ "account_analytic_analysis_menu.xml",
],
'demo_xml': [],
'installable': True,
diff --git a/addons/account_payment/__terp__.py b/addons/account_payment/__terp__.py
index ee4cb9d6c80..348b9b1ce08 100644
--- a/addons/account_payment/__terp__.py
+++ b/addons/account_payment/__terp__.py
@@ -22,10 +22,13 @@
{
- 'name': 'Payment Management',
- 'version': '1.0',
- 'category': 'Generic Modules/Payment',
- 'description': """
+ "name": "Payment Management",
+ "version": "1.1",
+ "author": "Tiny",
+ "category": "Generic Modules/Payment",
+ "depends": ["account"],
+ "init_xml": [],
+ "description": """
This module provide :
* a more efficient way to manage invoice payment.
* a basic mechanism to easily plug various automated payment.
diff --git a/addons/base_module_quality/speed_test/speed_test.py b/addons/base_module_quality/speed_test/speed_test.py
index 33456e4729f..99523f23735 100644
--- a/addons/base_module_quality/speed_test/speed_test.py
+++ b/addons/base_module_quality/speed_test/speed_test.py
@@ -50,7 +50,7 @@ This test checks the speed of the module. Note that at least 5 demo data is need
module_name = module_path.split('/')[-1]
obj_list = self.get_objects(cr, uid, module_name)
obj_counter = 0
- score = 0
+ score = 0.0
obj_ids = self.get_ids(cr, uid, obj_list)
result_dict = {}
result_dict2 = {}
@@ -63,7 +63,7 @@ This test checks the speed of the module. Note that at least 5 demo data is need
if size:
list = []
- #we perform the operation twice, and count the number of queries in the second run. This allows to avoid the cache effect. (like translated terms that asks for more queries)
+ #we perform the operation twice, and count the number of queries in the second run. This allows to avoid the cache effect. (like translated terms that asks for more queries)
pool.get(obj).read(cr, uid, [ids[0]])
c = cr.count
pool.get(obj).read(cr, uid, [ids[0]])
diff --git a/addons/crm_configuration/crm_bugs_view.xml b/addons/crm_configuration/crm_bugs_view.xml
index 5335aefbb7d..17c54f16377 100644
--- a/addons/crm_configuration/crm_bugs_view.xml
+++ b/addons/crm_configuration/crm_bugs_view.xml
@@ -87,7 +87,7 @@
-
+
diff --git a/addons/crm_configuration/crm_fund_view.xml b/addons/crm_configuration/crm_fund_view.xml
index 51cf92d9bd1..038cfc23bdf 100644
--- a/addons/crm_configuration/crm_fund_view.xml
+++ b/addons/crm_configuration/crm_fund_view.xml
@@ -37,7 +37,7 @@
-
+
@@ -70,7 +70,7 @@
-
+