main #7
@@ -86,7 +86,7 @@ class ValuationBase(ModelSQL):
|
|||||||
|
|
||||||
price = pc.price
|
price = pc.price
|
||||||
if line.terms:
|
if line.terms:
|
||||||
c = [t for t in line.terms if t.component == pc.id]
|
c = [t for t in line.terms if t.component == pc.price_component.id]
|
||||||
if c:
|
if c:
|
||||||
price = c[0].manual_price
|
price = c[0].manual_price
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user