projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1e83435
)
improve
author
Fabien Pinckaers
<fp@tinyerp.com>
Mon, 20 Oct 2008 20:49:03 +0000
(22:49 +0200)
committer
Fabien Pinckaers
<fp@tinyerp.com>
Mon, 20 Oct 2008 20:49:03 +0000
(22:49 +0200)
bzr revid: fp@tinyerp.com-
20081020204903
-dmv74e2d7c4fnm2j
bin/addons/base/res/partner/partner.py
patch
|
blob
|
history
diff --git
a/bin/addons/base/res/partner/partner.py
b/bin/addons/base/res/partner/partner.py
index
b419f35
..
f9ab153
100644
(file)
--- a/
bin/addons/base/res/partner/partner.py
+++ b/
bin/addons/base/res/partner/partner.py
@@
-247,18
+247,6
@@
class res_partner(osv.osv):
result[a] = adr.get(a, default_address)
return result
- def property_get(self, cr, uid, ids,property_pref=[]):
- select = ids
- if isinstance(ids, (int, long)):
- select = [ids]
- result=self.read(cr,uid,select,property_pref)
- for res in result:
- for prt in property_pref:
- res[prt] = res[prt] and res[prt][0] or False
- if isinstance(ids, (int, long)):
- return result[0]
- return result
-
def gen_next_ref(self, cr, uid, ids):
if len(ids) != 1:
return True