Subversion Repositories SmartDukaan

Rev

Rev 5591 | Rev 14072 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5591 Rev 10295
Line 27... Line 27...
27
    contactPhone = Field(String(12))
27
    contactPhone = Field(String(12))
28
    contactFax = Field(String(12))
28
    contactFax = Field(String(12))
29
    contactEmail = Field(String(50))
29
    contactEmail = Field(String(50))
30
    registeredAddress = Field(String(100))
30
    registeredAddress = Field(String(100))
31
    communicationAddress = Field(String(100))
31
    communicationAddress = Field(String(100))
-
 
32
    stateId = Field(Integer)
32
    using_options(shortnames=True)
33
    using_options(shortnames=True)
33
    using_table_options(mysql_engine="InnoDB")
34
    using_table_options(mysql_engine="InnoDB")
34
    
35
    
35
    def __init__(self):
36
    def __init__(self):
36
        '''
37
        '''
Line 53... Line 54...
53
        t_supplier.contactPhone = self.contactPhone
54
        t_supplier.contactPhone = self.contactPhone
54
        t_supplier.contactFax = self.contactFax
55
        t_supplier.contactFax = self.contactFax
55
        t_supplier.contactEmail = self.contactEmail
56
        t_supplier.contactEmail = self.contactEmail
56
        t_supplier.registeredAddress = self.registeredAddress
57
        t_supplier.registeredAddress = self.registeredAddress
57
        t_supplier.communicationAddress = self.communicationAddress
58
        t_supplier.communicationAddress = self.communicationAddress
-
 
59
        t_supplier.stateId = self.stateId
58
        
60
        
59
        return t_supplier
61
        return t_supplier
60
62