[FIX] product: fix company_id assignment on pricelist version & items creation
[FIX] product: fix company_id assignment on pricelist version & items creation

Due to the following revision:
295b96c0b39959d053c3b74edd515879c873c722

The company on the version and items was not assigned
when creating a new pricelist version on an existing
pricelist.

They were if you changed the company of the pricelist,
thanks to the triggers added in the above revision,
but not when they have just been created in the pricelist.

These new triggers repairs this regression. It also handle
changing the `pricelist_id` of a version (this is doable through
the "Sales > Configuration > Pricelists > Pricelist Versions" menu).

Fixes #14631

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