odoo/odoo — pull request #1833 by rco-odoo (2014-08-18 14:18:21+00:00)
Title: Fix mess when recomputing total amount on invoices

The fix improves the code that manages the recomputation of new-style fields. The code that *prepares* the recomputation is *always* executed, while the code that *actually* recomputes the fields may be skipped with a flag in the context.