main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit 74e4ac0c1b - Show all commits

View File

@@ -87,7 +87,7 @@ class ValuationBase(ModelSQL):
price = pc.price
logger.info("TERMS:%s",line.terms)
if line.terms:
c = [t for t in line.terms if t.component == pc.price_component.id]
c = [t for t in line.terms if t.component == pc.price_component]
logger.info("COMPONENTS:%s",c)
if c:
price = c[0].manual_price