- Timestamp:
- 11 Feb 2015, 21:38:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/contracts.py
r12591 r12601 44 44 IRPCContractProcess, 45 45 IRPCContractOfficialUse, 46 IIPPMVLContract, 47 IIPPMVLContractEdit, 48 IIPPMVLContractProcess, 49 IIPPMVLContractOfficialUse, 46 50 ) 47 51 … … 198 202 return implementedBy(RPCContract) 199 203 204 205 class IPPMVLContract(ContractBase): 206 """Issuance of Patent and Proprietary Medicines Vendors License contract. 207 """ 208 209 grok.implements( 210 IIPPMVLContractProcess, 211 IIPPMVLContract, 212 IIPPMVLContractEdit, 213 ICustomerNavigation) 214 215 contract_category = 'ippmvl' 216 217 form_fields_interface = IIPPMVLContract 218 219 edit_form_fields_interface = IIPPMVLContractEdit 220 221 ou_form_fields_interface = IIPPMVLContractOfficialUse 222 223 check_docs_interface = IIPPMVLContract 224 225 IPPMVLContract = attrs_to_fields(IPPMVLContract) 226 227 228 class IPPMVLContractFactory(grok.GlobalUtility): 229 """A factory for contracts. 230 """ 231 grok.implements(IFactory) 232 grok.name(u'waeup.IPPMVLContract') 233 title = u"Create a new license contract.", 234 description = u"This factory instantiates new contract instances." 235 236 def __call__(self, *args, **kw): 237 return IPPMVLContract(*args, **kw) 238 239 def getInterfaces(self): 240 return implementedBy(IPPMVLContract) 241
Note: See TracChangeset for help on using the changeset viewer.