[FIX] account_asset: moves should use the depreciation line date
[FIX] fix wrong filter in search view (account/sale)

the field section_id is created in addon sale, but used in the account
reporting views.  This commit moves the search view definition
in the correct file.
[FIX] web: FieldMany2ManyBinaryMultiFiles must extend ReinitializeFieldMixin

The add attachment button should be displayed while being in edit mode, but not in view mode
As the widget depends on the form actual mode, the widget should be re-rendered each time the actual mode changes

This is the point of the ReinitializeFieldMixin class
[MERGE] forward port of branch 7.0 up to d36c8b5
[MERGE] forward port of branch saas-3 up to 22f2728
[FIX] account_voucher: multicompany compatibility

When the company or the journal is changed, change the period accordingly to make sure to always keep coherant values.
[FIX] calendar: gantt view argument

There is no 'date' field.
Fixes #3496
[IMP] point_of_sale: add a zero default margin when printing a receipt from the browser.
[FIX] web: many2many_binary widget upload

once widget extended with ReinitializeFieldMixin, the event binding with the binary file input and the on_file_change method can be done in initialize_content instead of start

This fix is related to d36c8b5c9bf7ab9215bc63db6ee49bec5e5b225b
[MERGE] forward port of branch 7.0 up to ae99a93
[MERGE] forward port of branch saas-3 up to c8df9fc
[FIX] fields: fix the translations of the labels of inherited fields
[FIX] models: do not copy translations of fields that are not copied

Fixes #3272.
[IMP] models: improve performance of _setup_fields()

There was an issue in _setup_fields(): the method invokes _inherits_reload(),
which recomputes inherited fields, and invokes itself recursively on children
models.  This may be problematic if the children models have already been set
up.

This optimization avoids recursive calls of method _inherits_reload().  In
_setup_fields(), first all parent models are set up, then their fields are
inspected to determine inherited fields, and their setup is done.  This scheme
guarantees that inherited fields are computed once per model.
[FIX] ir_model: always setup models before calling _auto_init()
[IMP] models: in _init_manual_fields(), create fields instead of columns

Note that serialized fields are ignored; they are no longer supported, anyway.