Portage to v7 of module sale_markup
update license headers
improve imports
fix model names
fix typo in context for product uom
Fix on change loops by adding loop breakers function fields as in OpenERP v7, onchange triggers other onchanges.
As float roundings can lead to an infinite loop it the simple way is to say which onchanges shouldn't be triggered for after an onchange computation.
This is done with a set of dummy function fields which will live only on the client form.
Rewrite onchange to use web_context_tunnel module
fix context key mismatch
fixes missing on change context on discount and add checks to not break on_changes which won't be triggered as same value is set
hide break on change fields
Fix markup computation method on product
improve view inheritance by using more specific paths and add more context to product_id_change
fix onchange margin, use new_discount instead of discount rate
[FIX] imports of decimal_precision
Improve check on super returned values as it can be an empty dict
Fix using sums multi group fails as the registred function for amount totals is the super one. Here I separate the computationto ensure it will be triggered.
add tests
Creation of a sale.order.line must trigger the sale_order.markup_rate function field
[FIX] mv sale_markup from __unported__ directory to root directory
PEP8 validation + add current pending merges