[FIX] web: fix duplicate changes in form view
[FIX] web: fix duplicate changes in form view

Before this commit, in some cases, clicking on 'save' button, then on
other buttons (like 'validate' in invoices) had the unfortunate effect
of applying twice the changes in some cases.

More specifically the problem appears when:
1. an onchange is triggered (for example, taxes in invoices)
2. the user clicks on 'save', buttons are disabled
3. the 'save' actions is completed, the buttons are enabled, but
   the on_button_save still does some work: triggering event, and
   reloading the view
4. the user clicks on 'validate'
5. the onchange completes, this triggers some more work

Our only protection against such interactions is right now the fact that
buttons are disabled/enabled.  In my opinion, there should be a way
to guarantee that actions are properly serialized (that is actually what
a mutex is for... just saying). But the code of the form view/list view is
too coupled, and such changes are quite dangerous.  A real refactoring
of those is needed at some point in the future.

ygol/odoo,laslabs/odoo,ygol/odoo,microcom/odoo,microcom/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo,dfang/odoo,ygol/odoo,laslabs/odoo,microcom/odoo,storm-computers/odoo,laslabs/odoo,microcom/odoo,dfang/odoo,ygol/odoo,Elico-Corp/odoo_OCB,microcom/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,storm-computers/odoo,storm-computers/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,laslabs/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,bplancher/odoo,hip-odoo/odoo,laslabs/odoo,bplancher/odoo,hip-odoo/odoo,laslabs/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,dfang/odoo,dfang/odoo,bplancher/odoo,microcom/odoo,storm-computers/odoo,dfang/odoo,ygol/odoo