diff --git a/category.py b/category.py
index 8788ac6817..4010a369f2 100644
--- a/category.py
+++ b/category.py
@@ -14,7 +14,7 @@ class Category(OSV):
states=STATES)
parent = fields.Many2One('partner.category', 'Parent Category',
select=1, states=STATES)
- complete_name = fields.Function('complete_name',
+ complete_name = fields.Function('get_complete_name',
type="char", string='Name', states=STATES)
childs = fields.One2Many('partner.category', 'parent',
'Childs Category', states=STATES)
@@ -30,7 +30,7 @@ class Category(OSV):
def default_active(self, cursor, user, context=None):
return 1
- def complete_name(self, cursor, user, obj_id, name, value, arg,
+ def get_complete_name(self, cursor, user, obj_id, name, value, arg,
context=None):
res = self.name_get(cursor, user, ids, context)
return dict(res)
diff --git a/category.xml b/category.xml
index dababb2e1c..0f04bce1c2 100644
--- a/category.xml
+++ b/category.xml
@@ -78,5 +78,29 @@
+
+
+ Partner administration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/country.xml b/country.xml
index 83f2b18837..6935895533 100644
--- a/country.xml
+++ b/country.xml
@@ -1275,5 +1275,38 @@
wy
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/partner.xml b/partner.xml
index 96fcfdca59..a158cc9f3d 100644
--- a/partner.xml
+++ b/partner.xml
@@ -38,6 +38,8 @@
+
+