source: WAeUP_SRP/trunk/skins/waeup_student/scratch_card_batch_created.py @ 488

Last change on this file since 488 was 488, checked in by joachim, 18 years ago

modified scratch_card_pin widget to include prefix and batch_no
modified schemas and layouts accordingly.

  • Property svn:keywords set to Id
File size: 285 bytes
Line 
1## Script (Python) "cpsdocument_created"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=object=None
8##title=
9##
10# $Id: scratch_card_batch_created.py 488 2006-09-07 12:34:56Z joachim $
11if object is not None:
12    batch = object
13batch.getContent().makePins()
14return
Note: See TracBrowser for help on using the repository browser.