Subversion Repositories SmartDukaan

Rev

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

Rev 21839 Rev 21841
Line 65... Line 65...
65
 
65
 
66
def to_t_state(state):
66
def to_t_state(state):
67
    t_state = StateInfo()
67
    t_state = StateInfo()
68
    t_state.id = state.id
68
    t_state.id = state.id
69
    t_state.stateName = state.name
69
    t_state.stateName = state.name
70
    t_state.vatType = state.vatType
70
    t_state.vatType = 0
71
    t_state.stateCode = state.stateCode
71
    t_state.stateCode = state.stateCode
-
 
72
    t_state.shortName = state.shortName
72
    return t_state
73
    return t_state
73
 
74
 
74
def to_t_vendor(vendor):
75
def to_t_vendor(vendor):
75
    t_vendor = Vendor()
76
    t_vendor = Vendor()
76
    t_vendor.id = vendor.id
77
    t_vendor.id = vendor.id