Clean whole flow of cart updates (new lines, modified quantities, ...) * Use clean hooks to differentiate line update and creation, quantity verification, ... * Avoid write calls with unmodified values, useless recomputations, queries, ... * Create new lines directly with the correct quantity and values * Delegate fields computation logic to sale as much as possible (price, discount, name, ...) Part-of: odoo/odoo#82374