spree-contrib / spree_print_invoice

Create a PDF invoice for Spree orders.
http://guides.spreecommerce.org
BSD 3-Clause "New" or "Revised" License
91 stars 239 forks source link

print_buttons preference not defined (NoMethodError) #110

Open 1990prashant opened 8 years ago

1990prashant commented 8 years ago

Following readme of master and I get

/gems/ruby-2.3.1/gems/spree_core-3.1.0/app/models/spree/preferences/preferable.rb:62:in `has_preference!': print_buttons preference not defined (NoMethodError)

This is how my config looks like

Spree::PrintInvoice::Config.set(print_buttons: 'invoice')

rogodani commented 5 years ago

Hi,

I have the same problem with spree 3.7.3 do you have any solution for this?

Thank you