arnebrasseur/openerp-account_invoice_total — pull request #1 by lesbi (2012-08-23 21:06:44+00:00)
Title: A few improvements

Hello Arne,

Thank you for the initiative of creating this module. Apparently, OpenErp is not willing to restore the functionality in 6.1 (maybe in 7.0, we'll see), so your module is going to be around for a while.

This pull request includes a couple of improvements:
- making the position of the field more similar to what it was in 6.0
- reducing code duplicaiton by first letting the original method do its work, then doing the check (which will rollback the change in case the validation fails)

Let me know your thoughts.

-Stéphane Bidoul