Module yomoni error
Null values are raising exceptions. Solved by:
< # nombreParts is null sometimes in the JSON we retrieve.
< if inv['nombreParts']:
< i.quantity = CleanDecimal().filter(inv['nombreParts'])
---
> i.quantity = CleanDecimal().filter(inv['nombreParts'])
147,149c145
< # datePosition is null sometimes in the JSON we retrieve.
< if inv['datePosition']:
< i.vdate = Date().filter(inv['datePosition'])
---
> i.vdate = Date().filter(inv['datePosition'])```
Edited by Woob Import