I'd like to be able to display adjustments in order and order item views.

See https://github.com/drupalcommerce/commerce/pull/622.

Comments

steveoliver created an issue. See original summary.

steveoliver’s picture

Issue summary: View changes
Status: Active » Needs review
bojanz’s picture

Status: Needs review » Needs work

Reviewed.

bojanz’s picture

Status: Needs work » Closed (won't fix)

I'm going to have to say no to this for now.

The PR tried to add a "type" column to adjustments, which would require altering field schema (very painful, see what Address module had to do) and resaving all orders (also very impractical considering the limitations of Drupal's Entity API). Once these two tasks become easier, we can (and should) revisit.

Opened #3011966: Add a views field that allows showing adjustments filtered by type for the part that can be done without schema changes.