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