diff options
| author | Amit Patel <apa@tinyerp.com> | 2012-09-13 10:50:46 +0530 |
|---|---|---|
| committer | Amit Patel <apa@tinyerp.com> | 2012-09-13 10:50:46 +0530 |
| commit | d4e50ffbd6b94ef4049c0e1cae13bf1cd2018ccc (patch) | |
| tree | 506e48c33431a19fa10016775539f76e661a0ff2 /addons/analytic/analytic.py | |
| parent | 94c20235482dc887be076c9f2f0ce06bf30aebda (diff) | |
| parent | 74df8d0147b79a61fcf961231be8b82a5f86ef99 (diff) | |
[MERGE]:trunk
bzr revid: apa@tinyerp.com-20120912124210-cn5y3gcbxhew53h1
bzr revid: apa@tinyerp.com-20120913052046-r2lxb209eau3xnvo
Diffstat (limited to 'addons/analytic/analytic.py')
| -rw-r--r-- | addons/analytic/analytic.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/addons/analytic/analytic.py b/addons/analytic/analytic.py index d90e2006a71..66a67ad4219 100644 --- a/addons/analytic/analytic.py +++ b/addons/analytic/analytic.py @@ -96,22 +96,6 @@ class account_analytic_account(osv.osv): res[row['id']][field] = row[field] return self._compute_level_tree(cr, uid, ids, child_ids, res, fields, context) - def name_get(self, cr, uid, ids, context=None): - if isinstance(ids, (int, long)): - ids=[ids] - if not ids: - return [] - res = [] - for account in self.browse(cr, uid, ids, context=context): - data = [] - acc = account - while acc: - data.insert(0, acc.name) - acc = acc.parent_id - data = ' / '.join(data) - res.append((account.id, data)) - return res - def _complete_name_calc(self, cr, uid, ids, prop, unknow_none, unknow_dict): res = self.name_get(cr, uid, ids) return dict(res) |
