Subversion Repositories SmartDukaan

Rev

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

Rev 1080 Rev 1089
Line 44... Line 44...
44
            item.brand = brand
44
            item.brand = brand
45
            item.model_number = model_number
45
            item.model_number = model_number
46
            item.color = color
46
            item.color = color
47
            item.status = status.IN_PROCESS
47
            item.status = status.IN_PROCESS
48
            item.addedOn = updatedOn
48
            item.addedOn = updatedOn
-
 
49
            item.hotspotCategory = category
49
            session.add(item)
50
            session.add(item)
50
            
51
            
51
            if catalog_item_id !=None and catalog_item_id != "":
52
            if catalog_item_id !=None and catalog_item_id != "":
52
                #Add category and entity id
53
                #Add category and entity id
53
                item.catalog_item_id = int(catalog_item_id)
54
                item.catalog_item_id = int(catalog_item_id)