Subversion Repositories SmartDukaan

Rev

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

Rev 18530 Rev 18590
Line 133... Line 133...
133
    counter = ManyToOne("Counter")
133
    counter = ManyToOne("Counter")
134
    tin = Field(String(20))
134
    tin = Field(String(20))
135
    created_on = Field(DateTime)
135
    created_on = Field(DateTime)
136
    isActive = Field(Boolean)
136
    isActive = Field(Boolean)
137
    bulkShipmentAmountLimit = Field(Float, default=50000)
137
    bulkShipmentAmountLimit = Field(Float, default=50000)
-
 
138
    creditorAssigned = Field(Boolean)
138
    using_options(shortnames = True)
139
    using_options(shortnames = True)
139
    using_table_options(mysql_engine = "InnoDB")
140
    using_table_options(mysql_engine = "InnoDB")
140
 
141
 
141
class Coupon(Entity):
142
class Coupon(Entity):
142
    coupon_code = Field(String(20))
143
    coupon_code = Field(String(20))