[FIX] calendar: rule._bynweekday can be a set
[FIX] calendar: rule._bynweekday can be a set

Depending on the version of dateutil, rule._bynweekday can either be
a tuple or a set (see https://github.com/dateutil/dateutil/pull/54), which,
in the case of a set, breaks the access by index (see related issue:
https://github.com/dateutil/dateutil/issues/24).

By casting it into a list, we make sure that we can access [0] in both case.

Credits to jke ; closes opw-690761.

makinacorpus/odoo,odootr/odoo,dfang/odoo,Noviat/odoo,glovebx/odoo,alexcuellar/odoo,Daniel-CA/odoo,funkring/fdoo,makinacorpus/odoo,glovebx/odoo,microcom/odoo,mustafat/odoo-1,tvibliani/odoo,glovebx/odoo,Daniel-CA/odoo,odootr/odoo,Adel-Magebinary/odoo,hip-odoo/odoo,spadae22/odoo,spadae22/odoo,microcom/odoo,odootr/odoo,funkring/fdoo,glovebx/odoo,synconics/odoo,storm-computers/odoo,ygol/odoo,Nowheresly/odoo,CatsAndDogsbvba/odoo,hip-odoo/odoo,vnsofthe/odoo,mustafat/odoo-1,ehirt/odoo,makinacorpus/odoo,ygol/odoo,diagramsoftware/odoo,bplancher/odoo,funkring/fdoo,storm-computers/odoo,leorochael/odoo,ygol/odoo,hip-odoo/odoo,spadae22/odoo,microcom/odoo,hip-odoo/odoo,ygol/odoo,funkring/fdoo,diagramsoftware/odoo,ehirt/odoo,Elico-Corp/odoo_OCB,tvibliani/odoo,Noviat/odoo,synconics/odoo,Elico-Corp/odoo_OCB,funkring/fdoo,vnsofthe/odoo,spadae22/odoo,Noviat/odoo,diagramsoftware/odoo,Nowheresly/odoo,diagramsoftware/odoo,Noviat/odoo,alexcuellar/odoo,odootr/odoo,laslabs/odoo,tvibliani/odoo,spadae22/odoo,vnsofthe/odoo,alexcuellar/odoo,BT-ojossen/odoo,synconics/odoo,Nowheresly/odoo,synconics/odoo,CatsAndDogsbvba/odoo,laslabs/odoo,odootr/odoo,glovebx/odoo,CatsAndDogsbvba/odoo,leorochael/odoo,NeovaHealth/odoo,Elico-Corp/odoo_OCB,Elico-Corp/odoo_OCB,leorochael/odoo,laslabs/odoo,datenbetrieb/odoo,storm-computers/odoo,diagramsoftware/odoo,OpenUpgrade/OpenUpgrade,ehirt/odoo,mustafat/odoo-1,funkring/fdoo,mustafat/odoo-1,Daniel-CA/odoo,funkring/fdoo,ygol/odoo,ehirt/odoo,glovebx/odoo,BT-ojossen/odoo,BT-ojossen/odoo,vnsofthe/odoo,NeovaHealth/odoo,diagramsoftware/odoo,laslabs/odoo,mustafat/odoo-1,tvibliani/odoo,synconics/odoo,alexcuellar/odoo,CatsAndDogsbvba/odoo,NeovaHealth/odoo,vnsofthe/odoo,ehirt/odoo,leorochael/odoo,leorochael/odoo,vnsofthe/odoo,Daniel-CA/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,glovebx/odoo,Nowheresly/odoo,datenbetrieb/odoo,alexcuellar/odoo,laslabs/odoo,datenbetrieb/odoo,microcom/odoo,Adel-Magebinary/odoo,OpenUpgrade/OpenUpgrade,ygol/odoo,leorochael/odoo,storm-computers/odoo,bplancher/odoo,NeovaHealth/odoo,datenbetrieb/odoo,makinacorpus/odoo,Daniel-CA/odoo,dfang/odoo,NeovaHealth/odoo,Nowheresly/odoo,OpenUpgrade/OpenUpgrade,Noviat/odoo,hip-odoo/odoo,Noviat/odoo,NeovaHealth/odoo,dfang/odoo,alexcuellar/odoo,leorochael/odoo,Adel-Magebinary/odoo,laslabs/odoo,dfang/odoo,OpenUpgrade/OpenUpgrade,Noviat/odoo,mustafat/odoo-1,spadae22/odoo,OpenUpgrade/OpenUpgrade,CatsAndDogsbvba/odoo,tvibliani/odoo,microcom/odoo,ehirt/odoo,mustafat/odoo-1,tvibliani/odoo,datenbetrieb/odoo,Adel-Magebinary/odoo,synconics/odoo,NeovaHealth/odoo,odootr/odoo,Daniel-CA/odoo,ygol/odoo,BT-ojossen/odoo,diagramsoftware/odoo,Nowheresly/odoo,storm-computers/odoo,makinacorpus/odoo,bplancher/odoo,Adel-Magebinary/odoo,Daniel-CA/odoo,bplancher/odoo,OpenUpgrade/OpenUpgrade,CatsAndDogsbvba/odoo,dfang/odoo,dfang/odoo,tvibliani/odoo,storm-computers/odoo,Adel-Magebinary/odoo,BT-ojossen/odoo,odootr/odoo,datenbetrieb/odoo,vnsofthe/odoo,makinacorpus/odoo,alexcuellar/odoo,bplancher/odoo,synconics/odoo,spadae22/odoo,Nowheresly/odoo,CatsAndDogsbvba/odoo,OpenUpgrade/OpenUpgrade,BT-ojossen/odoo,BT-ojossen/odoo,datenbetrieb/odoo,Elico-Corp/odoo_OCB,Adel-Magebinary/odoo,ehirt/odoo,makinacorpus/odoo,hip-odoo/odoo,microcom/odoo