[FIX] Bug related to wrong average price computation when using different currency for company and price_type
[ADD] Tests that prevent and demonstrate that bug
[MERGE][FIX] Bug lp:1238525 related to wrong average price computation when using different currency for company and price_type
[ADD] Tests that prevent and demonstrate that bug
[FIX] remove print statements, ending spaces, pep8, propagate the context
[FIX] again
[FIX] Add round=False to first currency computation to avoid rounding twice. Thanks to Guewen for this one
[FIX] remove print statements
[FIX] Add round=False to first currency computation to avoid rounding twice. Thanks to Guewen for this one
[MRG] [FIX] remove print statements
[MRG] fix the bug (https://bugs.launchpad.net/ocb-addons/+bug/1238525) related to the average price computation when using price on product form in other currency than the company one.

 * Fix the trouble in do_partial method to convert to proper currency once new average price computed

 * Adds test to avoid that in the future
Merge branch 'ocb-7.0' of github.com:akretion/openerp-addons into ocb-7.0