suppr du setter projet domaine name
authorSébastien CHAZALLET <s.chazallet@gmail.com>
Fri, 3 May 2013 12:21:45 +0000 (14:21 +0200)
committerSébastien CHAZALLET <s.chazallet@gmail.com>
Fri, 3 May 2013 12:21:45 +0000 (14:21 +0200)
projet.py

index 7defaf7..1e1038d 100644 (file)
--- a/projet.py
+++ b/projet.py
@@ -69,9 +69,6 @@ class ProjetDomaine(osv.Model):
         return dict([(i, r.domaine_id.name) for i, r in
                 zip(ids, self.browse(cr, uid, ids, context=context))])
 
-    def _set_name(self, cr, uid, _id, name, value, arg=None, context=None):
-        self.write(cr, uid, _id, {name: value}, context)
-
     _columns = {
         "name": fields.function(_get_name,
                                 type='char',