fix value properties on price an regular quantitiy
This commit is contained in:
6
test.py
6
test.py
@@ -1,7 +1,5 @@
|
||||
import neofarm.lib as neo
|
||||
|
||||
if __name__ == "__main__":
|
||||
asset = neo.Asset.Plant.from_id("76f89f82-1238-43bb-b34f-796a92d491a2")
|
||||
logs = asset.get_logs_of_type(neo.Log.Activity)
|
||||
for log in logs:
|
||||
print(log.name)
|
||||
log = neo.Log.Purchase.from_id("6ecc063f-3995-45e6-872e-952b811eaa94")
|
||||
print(log.quantities[0].total_price)
|
||||
Reference in New Issue
Block a user