Quitar un 'None'

This commit is contained in:
David Arranz 2026-03-25 18:41:32 +01:00
parent fbd294098d
commit daf57066db

View File

@ -73,7 +73,7 @@ def insert_item_and_taxes(fields) -> Dict[str, Any]:
"item_discount_amount_value": str(none_to_empty(fields.get("item_discount_amount_value"))),
"global_discount_percentage_value": str(none_to_empty(fields.get("global_discount_percentage_value"))),
"global_discount_amount_value": str(none_to_empty(fields.get("global_discount_amount_value"))),
"total_discount_amount_value": str(fields.get("total_discount_amount_value")),
"total_discount_amount_value": str(none_to_empty(fields.get("total_discount_amount_value"))),
"taxable_amount_value": str(fields.get("taxable_amount_value")),
"total_amount_value": str(fields.get("total_amount_value")),
"iva_code": str(fields.get("iva_code")),