From e7a262ab3677391b5145bba80ba52ef94d459e80 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 22 Oct 2008 22:32:05 +0200 Subject: [PATCH] modifs bzr revid: fp@tinyerp.com-20081022203205-0bo70put3r6wmtto --- bin/addons/base/ir/workflow/workflow_view.xml | 20 +++++++++---------- bin/osv/osv.py | 4 +--- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/bin/addons/base/ir/workflow/workflow_view.xml b/bin/addons/base/ir/workflow/workflow_view.xml index ac1d3d4957b..20f1cf1685b 100644 --- a/bin/addons/base/ir/workflow/workflow_view.xml +++ b/bin/addons/base/ir/workflow/workflow_view.xml @@ -43,13 +43,13 @@ - + - + ================================ + Activities + ================================ + --> + workflow.activity.form workflow.activity @@ -59,9 +59,9 @@ - - - + + + @@ -77,9 +77,7 @@ - - diff --git a/bin/osv/osv.py b/bin/osv/osv.py index ecc8f5af27f..df628dac719 100644 --- a/bin/osv/osv.py +++ b/bin/osv/osv.py @@ -158,11 +158,9 @@ class osv_pool(netsvc.Service): module = module.split('.')[0][2:] self.module_object_list.setdefault(module, []).append(obj_inst) + # Return False if object does not exist def get(self, name): obj = self.obj_pool.get(name, None) -# We cannot uncomment this line because it breaks initialisation since objects do not initialize -# in the correct order and the ORM doesnt support correctly when some objets do not exist yet -# assert obj, "object %s does not exist !" % name return obj #TODO: pass a list of modules to load