```ruby
CheckoutController.class_eval do
  private
  def before_address
    @order.bill_address ||= Address.new(:country => default_country)
    @order.ship_address ||= Address.new(:country => default_country)
    
    @order.user.create_adjustment_for(@order) if @order.user
  end
end
```

Improve before_address in CheckoutController decorator to provide compatibility with Spree 0.50.x too
user
```ruby
CheckoutController.class_eval do
  private
  def before_address
    @order.bill_address ||= Address.default
    @order.ship_address ||= Address.default
    
    @order.user.create_adjustment_for(@order) if @order.user
  end
end
```
assistant