bugfix
This commit is contained in:
parent
efeabe68a9
commit
2f729cc384
@ -354,7 +354,7 @@ where a.id = b.ppid
|
||||
times = 1
|
||||
unit = 1
|
||||
for k,spec_value in p.items():
|
||||
if k == 'price':
|
||||
if k in ['price', 'formula']:
|
||||
continue
|
||||
f = d.fields.get(k)
|
||||
if not f:
|
||||
@ -384,6 +384,7 @@ where a.id = b.ppid
|
||||
np = p.copy()
|
||||
times = float(times)
|
||||
unit = float(unit)
|
||||
formula = p.formula or d.formula
|
||||
if formula:
|
||||
ns = {
|
||||
'price': p.price,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user