- Timestamp:
- 1 Jan 2015, 21:56:40 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/products/browser.py
r12318 r12361 41 41 FriendlyDatetimeDisplayWidget) 42 42 from waeup.ikoba.browser.breadcrumbs import Breadcrumb 43 from waeup.ikoba.utils.helpers import html2dict 43 44 from waeup.ikoba.browser.pages import ( 44 45 delSubobjects, add_local_role, del_local_roles, msave, … … 189 190 if not new: 190 191 del data['options'] 191 return msave(self, **data) 192 msave(self, **data) 193 # Save multilingual dict 194 tc = getattr(self.context, 'terms_and_conditions', None) 195 portal_language = getUtility(IIkobaUtils).PORTAL_LANGUAGE 196 self.context.tc_dict = html2dict(tc, portal_language) 197 return 192 198 193 199 @action(_('Cancel'), validator=NullValidator)
Note: See TracChangeset for help on using the changeset viewer.