- Timestamp:
- 5 Jan 2015, 07:14:39 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12388 r12398 298 298 grok.require('waeup.viewCustomer') 299 299 grok.template('basepage') 300 form_fields = grok.AutoFields(ICustomer).omit( 301 'password', 'suspended', 'suspended_comment') 302 pnav = 4 300 pnav = 4 301 302 @property 303 def form_fields(self): 304 return grok.AutoFields( 305 self.context.form_fields_interface).omit( 306 'password', 'suspended', 'suspended_comment') 303 307 304 308 @property … … 329 333 pnav = 4 330 334 form_fields = grok.AutoFields(IContactForm).select('subject', 'body') 335 331 336 332 337 def update(self, subject=u'', body=u''): … … 368 373 grok.name('manage_base') 369 374 grok.require('waeup.manageCustomer') 370 form_fields = grok.AutoFields(ICustomer).omit(371 'customer_id', 'adm_code', 'suspended')372 375 grok.template('basemanagepage') 373 376 label = _('Manage base data') 374 377 pnav = 4 378 379 @property 380 def form_fields(self): 381 return grok.AutoFields( 382 self.context.form_fields_interface).omit( 383 'customer_id', 'adm_code', 'suspended') 375 384 376 385 def update(self):
Note: See TracChangeset for help on using the changeset viewer.