- Timestamp:
- 20 Jan 2015, 17:31:11 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser.py
r12490 r12500 1382 1382 1383 1383 1384 class ContractOfficialUsePage(IkobaEditFormPage): 1385 """ Page to manage a official use data of contract 1386 """ 1387 grok.context(IContract) 1388 grok.name('official_use') 1389 grok.require('waeup.manageCustomer') 1390 grok.template('contracteditpage') 1391 pnav = 4 1392 deletion_warning = _('Are you sure?') 1393 1394 @property 1395 def form_fields(self): 1396 return grok.AutoFields(self.context.ou_form_fields_interface) 1397 1398 @property 1399 def label(self): 1400 return self.context.title 1401 1402 @action(_('Save'), style='primary') 1403 def save(self, **data): 1404 msave(self, **data) 1405 return 1406 1407 1384 1408 class ContractEditFormPage(ContractManageFormPage): 1385 1409 """ Page to edit a contract by customer only
Note: See TracChangeset for help on using the changeset viewer.