crm create quote - why are price not calculated automatic?

crm create quote - why are price not calculated automatic?

The quote and product price are not automaticly calculated when adding a quote and product with deluge scripting.
Screenshot in Swedish language:

If unit price and quantity is given, it should calculate the product total, right?
If I edit the offer, the product total is automaticly calculated and added as soon as I enter edit mode.

The total amout isn't either calculated automaticly.

If I am in edit mode and edit tax, then the total amount is calculated.

If I manually create a quote with the very same product, every amount is calculated from the beginning.
Am I missing something in deluge scripting?