projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a65c82f
)
[FIX] patch from Raphael Valyi
author
Stephane Wirtel
<stephane@tinyerp.com>
Fri, 6 Feb 2009 10:06:31 +0000
(11:06 +0100)
committer
Stephane Wirtel
<stephane@tinyerp.com>
Fri, 6 Feb 2009 10:06:31 +0000
(11:06 +0100)
lp bug: https://launchpad.net/bugs/326094 fixed
bzr revid: stephane@tinyerp.com-
20090206100631
-28r9tv3gdja12cia
addons/mrp/mrp.py
patch
|
blob
|
history
diff --git
a/addons/mrp/mrp.py
b/addons/mrp/mrp.py
index
a1a01d0
..
a45f911
100644
(file)
--- a/
addons/mrp/mrp.py
+++ b/
addons/mrp/mrp.py
@@
-249,6
+249,7
@@
class mrp_bom(osv.osv):
prop+=1
if (prop>max_prop) or ((max_prop==0) and not result):
result = bom.id
+ max_prop = prop
return result
def _bom_explode(self, cr, uid, bom, factor, properties, addthis=False, level=0):