Fix state_changes to be destroyed when the associated order is destroyed Fixes #6370
Fix state_changes to be destroyed when the associated order is destroyed
Fixes #6370

CJMrozek/spree,cutefrank/spree,Engeltj/spree,KMikhaylovCTG/spree,tesserakt/clean_spree,shaywood2/spree,ahmetabdi/spree,abhishekjain16/spree,njerrywerry/spree,hifly/spree,ramkumar-kr/spree,calvinl/spree,jasonfb/spree,mleglise/spree,AgilTec/spree,jimblesm/spree,grzlus/spree,moneyspyder/spree,NerdsvilleCEO/spree,orenf/spree,TimurTarasenko/spree,shekibobo/spree,DynamoMTL/spree,shaywood2/spree,tesserakt/clean_spree,reidblomquist/spree,alejandromangione/spree,odk211/spree,JuandGirald/spree,gautamsawhney/spree,progsri/spree,mleglise/spree,alvinjean/spree,Lostmyname/spree,dafontaine/spree,imella/spree,piousbox/spree,lyzxsc/spree,Hawaiideveloper/shoppingcart,APohio/spree,ahmetabdi/spree,hoanghiep90/spree,gautamsawhney/spree,Lostmyname/spree,CJMrozek/spree,thogg4/spree,vinayvinsol/spree,trigrass2/spree,AgilTec/spree,sfcgeorge/spree,volpejoaquin/spree,mleglise/spree,ahmetabdi/spree,alejandromangione/spree,karlitxo/spree,abhishekjain16/spree,dafontaine/spree,cutefrank/spree,brchristian/spree,softr8/spree,rajeevriitm/spree,sfcgeorge/spree,groundctrl/spree,grzlus/spree,berkes/spree,njerrywerry/spree,vinsol/spree,tesserakt/clean_spree,jaspreet21anand/spree,wolfieorama/spree,wolfieorama/spree,ramkumar-kr/spree,nooysters/spree,fahidnasir/spree,shekibobo/spree,yiqing95/spree,CiscoCloud/spree,abhishekjain16/spree,siddharth28/spree,rakibulislam/spree,CJMrozek/spree,nooysters/spree,quentinuys/spree,nooysters/spree,sunny2601/spree,jaspreet21anand/spree,tancnle/spree,abhishekjain16/spree,radarseesradar/spree,zaeznet/spree,kewaunited/spree,welitonfreitas/spree,rajeevriitm/spree,progsri/spree,ahmetabdi/spree,miyazawatomoka/spree,berkes/spree,DynamoMTL/spree,omarsar/spree,siddharth28/spree,azranel/spree,edgward/spree,orenf/spree,edgward/spree,Hawaiideveloper/shoppingcart,groundctrl/spree,gautamsawhney/spree,maybii/spree,vmatekole/spree,vinsol/spree,odk211/spree,lyzxsc/spree,joanblake/spree,TimurTarasenko/spree,patdec/spree,firman/spree,priyank-gupta/spree,mindvolt/spree,tomash/spree,softr8/spree,robodisco/spree,ramkumar-kr/spree,berkes/spree,Lostmyname/spree,jasonfb/spree,azranel/spree,yushine/spree,jparr/spree,maybii/spree,nooysters/spree,maybii/spree,pulkit21/spree,sfcgeorge/spree,hoanghiep90/spree,njerrywerry/spree,radarseesradar/spree,dafontaine/spree,pulkit21/spree,locomotivapro/spree,beni55/spree,trigrass2/spree,useiichi/spree,CiscoCloud/spree,orenf/spree,pervino/spree,shaywood2/spree,builtbybuffalo/spree,vcavallo/spree,DarkoP/spree,joanblake/spree,radarseesradar/spree,vinayvinsol/spree,sliaquat/spree,jasonfb/spree,dafontaine/spree,FadliKun/spree,zamiang/spree,mleglise/spree,Hawaiideveloper/shoppingcart,robodisco/spree,TrialGuides/spree,raow/spree,robodisco/spree,DarkoP/spree,berkes/spree,jimblesm/spree,zaeznet/spree,Engeltj/spree,tancnle/spree,Engeltj/spree,kewaunited/spree,pervino/spree,SadTreeFriends/spree,Kagetsuki/spree,zamiang/spree,vmatekole/spree,jimblesm/spree,hifly/spree,jparr/spree,TrialGuides/spree,grzlus/spree,edgward/spree,vinsol/spree,yushine/spree,FadliKun/spree,azranel/spree,locomotivapro/spree,patdec/spree,sunny2601/spree,siddharth28/spree,adaddeo/spree,zamiang/spree,tancnle/spree,adaddeo/spree,ayb/spree,vcavallo/spree,hoanghiep90/spree,wolfieorama/spree,gregoryrikson/spree-sample,caiqinghua/spree,sliaquat/spree,pulkit21/spree,AgilTec/spree,madetech/spree,progsri/spree,APohio/spree,jaspreet21anand/spree,gregoryrikson/spree-sample,NerdsvilleCEO/spree,lsirivong/spree,APohio/spree,NerdsvilleCEO/spree,thogg4/spree,JDutil/spree,zamiang/spree,firman/spree,DarkoP/spree,FadliKun/spree,jparr/spree,yiqing95/spree,rajeevriitm/spree,kewaunited/spree,mindvolt/spree,fahidnasir/spree,sunny2601/spree,piousbox/spree,calvinl/spree,TrialGuides/spree,firman/spree,JuandGirald/spree,piousbox/spree,alejandromangione/spree,moneyspyder/spree,Engeltj/spree,shekibobo/spree,JDutil/spree,mindvolt/spree,welitonfreitas/spree,reidblomquist/spree,yiqing95/spree,trigrass2/spree,imella/spree,brchristian/spree,hifly/spree,JDutil/spree,locomotivapro/spree,jparr/spree,KMikhaylovCTG/spree,tesserakt/clean_spree,KMikhaylovCTG/spree,firman/spree,moneyspyder/spree,omarsar/spree,quentinuys/spree,ramkumar-kr/spree,hoanghiep90/spree,APohio/spree,useiichi/spree,vinsol/spree,joanblake/spree,Kagetsuki/spree,vmatekole/spree,raow/spree,priyank-gupta/spree,CiscoCloud/spree,tomash/spree,JuandGirald/spree,TimurTarasenko/spree,hifly/spree,welitonfreitas/spree,JDutil/spree,jeffboulet/spree,joanblake/spree,trigrass2/spree,SadTreeFriends/spree,jaspreet21anand/spree,caiqinghua/spree,piousbox/spree,sliaquat/spree,madetech/spree,rakibulislam/spree,gautamsawhney/spree,moneyspyder/spree,njerrywerry/spree,calvinl/spree,zaeznet/spree,raow/spree,beni55/spree,sfcgeorge/spree,fahidnasir/spree,miyazawatomoka/spree,locomotivapro/spree,shekibobo/spree,CiscoCloud/spree,radarseesradar/spree,volpejoaquin/spree,jasonfb/spree,builtbybuffalo/spree,TimurTarasenko/spree,alejandromangione/spree,quentinuys/spree,maybii/spree,useiichi/spree,cutefrank/spree,omarsar/spree,reidblomquist/spree,volpejoaquin/spree,shaywood2/spree,adaddeo/spree,grzlus/spree,beni55/spree,zaeznet/spree,pervino/spree,ayb/spree,alvinjean/spree,pervino/spree,jeffboulet/spree,edgward/spree,madetech/spree,lsirivong/spree,lyzxsc/spree,vinayvinsol/spree,cutefrank/spree,vcavallo/spree,JuandGirald/spree,jimblesm/spree,welitonfreitas/spree,robodisco/spree,ayb/spree,CJMrozek/spree,caiqinghua/spree,thogg4/spree,jeffboulet/spree,patdec/spree,patdec/spree,yushine/spree,karlitxo/spree,KMikhaylovCTG/spree,alvinjean/spree,raow/spree,quentinuys/spree,NerdsvilleCEO/spree,sliaquat/spree,priyank-gupta/spree,DynamoMTL/spree,lsirivong/spree,thogg4/spree,jeffboulet/spree,madetech/spree,DarkoP/spree,vcavallo/spree,SadTreeFriends/spree,sunny2601/spree,builtbybuffalo/spree,useiichi/spree,fahidnasir/spree,groundctrl/spree,priyank-gupta/spree,AgilTec/spree,rakibulislam/spree,Kagetsuki/spree,vmatekole/spree,omarsar/spree,tancnle/spree,progsri/spree,brchristian/spree,brchristian/spree,adaddeo/spree,alvinjean/spree,calvinl/spree,Hawaiideveloper/shoppingcart,tomash/spree,odk211/spree,tomash/spree,vinayvinsol/spree,SadTreeFriends/spree,reidblomquist/spree,karlitxo/spree,builtbybuffalo/spree,imella/spree,siddharth28/spree,ayb/spree,softr8/spree,rakibulislam/spree,TrialGuides/spree,miyazawatomoka/spree,wolfieorama/spree,softr8/spree,yushine/spree,caiqinghua/spree,lyzxsc/spree,mindvolt/spree,gregoryrikson/spree-sample,odk211/spree,pulkit21/spree,orenf/spree,gregoryrikson/spree-sample,kewaunited/spree,beni55/spree,Lostmyname/spree,karlitxo/spree,rajeevriitm/spree,groundctrl/spree,FadliKun/spree,volpejoaquin/spree,azranel/spree,DynamoMTL/spree,yiqing95/spree,Kagetsuki/spree,lsirivong/spree,miyazawatomoka/spree