[IMP] product: search on internal reference

When searching on the name of a product.template, search also on the default_code. Move the filter from product.product to product.template.
The field default_code is on the product.product but accessible through a related field, meaning when reading it will fetch only the first variant but searching on all variants.
Fixes #3399
[IMP] stock: display chained moves

Add field move_dest_id in stock.move form view for better debugging of complexe stock flows.
[IMP] point_of_sale: distinguish discounted lines

After closing a POS session, the pos order lines are grouped by product.
Instead, distinguish products with a different discount notice to have different lines for such products in the generated account.move for better traceability.
[FIX] fix a crash with create popup forms (web client)

it was trying to call the forme 'hide' method on the searchview.  To
solve the problem, I readded the method (and renamed it to do_hide for
consistency with views)
[IMP] crm: business model cleaning

Models renamings:
- crm.case.stage becomes crm.stage
- crm.case.section becomes crm.team

Model split:
crm.case.categ has been splitted into:
- crm.phonecall.tag
- crm.lead tag
- crm.claim.tag
- crm.helpdesk.tag

Models removal:
- crm.payment.mode
- crm.segmentation
- report.crm.case

Removal of the crm_profiling module

(all these refactorings have been done in order to ease new API
migrations)
[FIX] readd get_view_id to viewmanager (webclient)

it was removed in the refactoring of the action/viewmanager, but somehow
was not readded.  This is now done, and should prevent a few crashes.
[IMP]Sales:Improved some usability issues.

[FIX]improve domain and override create method in product attribute value.

[IMP]Added placehoder in comment field,seted create and delete false in tree view of attribute value

[IMP]Added form view for attribute values and bind with action