Subversion Repositories SmartDukaan

Rev

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

Rev 7773 Rev 7774
Line 196... Line 196...
196
            if amazonItem is not None:
196
            if amazonItem is not None:
197
                amazonItem.fbaPrice = item.sellingPrice
197
                amazonItem.fbaPrice = item.sellingPrice
198
                amazonItem.sellingPrice=item.sellingPrice
198
                amazonItem.sellingPrice=item.sellingPrice
199
                amazonItem.mfnPriceLastUpdatedOn = datetime.datetime.now()
199
                amazonItem.mfnPriceLastUpdatedOn = datetime.datetime.now()
200
                amazonItem.fbaPriceLastUpdatedOn = datetime.datetime.now()
200
                amazonItem.fbaPriceLastUpdatedOn = datetime.datetime.now()
-
 
201
                message +="Amazon Prices Synced."
201
            message += "Selling Price is changed from {0} to {1}.\n".format(ds_item.sellingPrice, item.sellingPrice)
202
            message += "Selling Price is changed from {0} to {1}.\n".format(ds_item.sellingPrice, item.sellingPrice)
202
       
203
       
203
    ds_item.sellingPrice = item.sellingPrice
204
    ds_item.sellingPrice = item.sellingPrice
204
    ds_item.weight = item.weight
205
    ds_item.weight = item.weight
205
    ds_item.showSellingPrice = item.showSellingPrice
206
    ds_item.showSellingPrice = item.showSellingPrice