Extension to the sale_margin module