Changeset 12378 for main/waeup.ikoba/trunk/src/waeup/ikoba/products
- Timestamp:
- 3 Jan 2015, 13:41:03 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/products/productoptions.py
r12343 r12378 27 27 from zope.schema.fieldproperty import FieldProperty 28 28 from zope.schema import Object 29 from waeup.ikoba.interfaces import SimpleIkobaVocabulary29 from waeup.ikoba.interfaces import CurrencySource 30 30 from waeup.ikoba.interfaces import MessageFactory as _ 31 31 from waeup.ikoba.widgets.objectwidget import ( 32 32 IkobaObjectWidget, IkobaObjectDisplayWidget 33 33 ) 34 from waeup.ikoba.payments.currencies import ISO_4217_CURRENCIES_VOCAB as currencies35 34 36 #currencies = SimpleIkobaVocabulary(37 # (_('NGN'),'NGN'),38 # (_('USD'),'USD'),39 # (_('EUR'),'EUR'),40 # )41 35 42 36 class IProductOption(Interface): … … 54 48 currency = schema.Choice( 55 49 title = _(u'Currency'), 56 vocabulary = currencies,50 source = CurrencySource(), 57 51 required = False, 58 52 )
Note: See TracChangeset for help on using the changeset viewer.