[FIX] purchase: _calc_new_qty_price
[FIX] purchase: _calc_new_qty_price

The price must be compute with the purchase unit of measure set
on the product because qty is computed according to this unit of
measure.

opw:648513

acshan/odoo,chiragjogi/odoo,mustafat/odoo-1,Endika/OpenUpgrade,Endika/odoo,synconics/odoo,steedos/odoo,ApuliaSoftware/odoo,chiragjogi/odoo,rowemoore/odoo,Elico-Corp/odoo_OCB,gorjuce/odoo,CatsAndDogsbvba/odoo,Elico-Corp/odoo_OCB,synconics/odoo,sv-dev1/odoo,Noviat/odoo,hassoon3/odoo,odootr/odoo,stephen144/odoo,BT-fgarbely/odoo,mlaitinen/odoo,x111ong/odoo,grap/OpenUpgrade,Daniel-CA/odoo,factorlibre/OCB,xzYue/odoo,datenbetrieb/odoo,draugiskisprendimai/odoo,gorjuce/odoo,apocalypsebg/odoo,apocalypsebg/odoo,CatsAndDogsbvba/odoo,nuncjo/odoo,Daniel-CA/odoo,Antiun/odoo,hassoon3/odoo,ehirt/odoo,optima-ict/odoo,chiragjogi/odoo,apocalypsebg/odoo,MarcosCommunity/odoo,nuncjo/odoo,GauravSahu/odoo,Maspear/odoo,kittiu/odoo,shaufi/odoo,hoatle/odoo,poljeff/odoo,minhtuancn/odoo,incaser/odoo-odoo,Daniel-CA/odoo,sv-dev1/odoo,rgeleta/odoo,minhtuancn/odoo,kittiu/odoo,MarcosCommunity/odoo,dariemp/odoo,fevxie/odoo,KontorConsulting/odoo,MarcosCommunity/odoo,eino-makitalo/odoo,ecosoft-odoo/odoo,hubsaysnuaa/odoo,acshan/odoo,steedos/odoo,JGarcia-Panach/odoo,hanicker/odoo,tvibliani/odoo,glovebx/odoo,spadae22/odoo,mszewczy/odoo,odootr/odoo,gorjuce/odoo,rowemoore/odoo,salaria/odoo,Nowheresly/odoo,Bachaco-ve/odoo,draugiskisprendimai/odoo,srimai/odoo,laslabs/odoo,grap/OpenUpgrade,provaleks/o8,ygol/odoo,jfpla/odoo,shaufi10/odoo,alexcuellar/odoo,ovnicraft/odoo,VielSoft/odoo,BT-rmartin/odoo,syci/OCB,eino-makitalo/odoo,tinkhaven-organization/odoo,Bachaco-ve/odoo,ShineFan/odoo,rahuldhote/odoo,vnsofthe/odoo,lsinfo/odoo,Endika/OpenUpgrade,incaser/odoo-odoo,vnsofthe/odoo,Adel-Magebinary/odoo,ShineFan/odoo,dalegregory/odoo,Maspear/odoo,JGarcia-Panach/odoo,Endika/OpenUpgrade,xzYue/odoo,funkring/fdoo,stephen144/odoo,syci/OCB,mszewczy/odoo,provaleks/o8,incaser/odoo-odoo,ecosoft-odoo/odoo,dalegregory/odoo,Adel-Magebinary/odoo,hubsaysnuaa/odoo,mustafat/odoo-1,KontorConsulting/odoo,ApuliaSoftware/odoo,grap/OpenUpgrade,hoatle/odoo,leorochael/odoo,OpenUpgrade/OpenUpgrade,sv-dev1/odoo,incaser/odoo-odoo,lsinfo/odoo,storm-computers/odoo,mustafat/odoo-1,KontorConsulting/odoo,shaufi/odoo,grap/OpenUpgrade,ovnicraft/odoo,sinbazhou/odoo,microcom/odoo,markeTIC/OCB,x111ong/odoo,odootr/odoo,mszewczy/odoo,fevxie/odoo,shaufi10/odoo,BT-ojossen/odoo,CatsAndDogsbvba/odoo,provaleks/o8,dalegregory/odoo,xzYue/odoo,sysadminmatmoz/OCB,tangyiyong/odoo,luistorresm/odoo,windedge/odoo,synconics/odoo,makinacorpus/odoo,CatsAndDogsbvba/odoo,sinbazhou/odoo,apocalypsebg/odoo,takis/odoo,VielSoft/odoo,minhtuancn/odoo,rgeleta/odoo,OpenUpgrade/OpenUpgrade,OpenUpgrade/OpenUpgrade,NeovaHealth/odoo,syci/OCB,ingadhoc/odoo,bplancher/odoo,glovebx/odoo,salaria/odoo,BT-fgarbely/odoo,dalegregory/odoo,lsinfo/odoo,tangyiyong/odoo,takis/odoo,rgeleta/odoo,kittiu/odoo,tinkhaven-organization/odoo,fevxie/odoo,microcom/odoo,AuyaJackie/odoo,mszewczy/odoo,optima-ict/odoo,chiragjogi/odoo,synconics/odoo,apanju/GMIO_Odoo,brijeshkesariya/odoo,datenbetrieb/odoo,RafaelTorrealba/odoo,takis/odoo,salaria/odoo,rowemoore/odoo,shaufi10/odoo,sergio-incaser/odoo,lgscofield/odoo,rgeleta/odoo,JGarcia-Panach/odoo,mlaitinen/odoo,x111ong/odoo,leorochael/odoo,rowemoore/odoo,fjbatresv/odoo,eino-makitalo/odoo,leorochael/odoo,tvibliani/odoo,slevenhagen/odoo,syci/OCB,fuhongliang/odoo,mlaitinen/odoo,Nowheresly/odoo,rubencabrera/odoo,BT-fgarbely/odoo,diagramsoftware/odoo,mustafat/odoo-1,shingonoide/odoo,Elico-Corp/odoo_OCB,mustafat/odoo-1,synconics/odoo,ChanduERP/odoo,spadae22/odoo,fjbatresv/odoo,NeovaHealth/odoo,JGarcia-Panach/odoo,hanicker/odoo,Endika/odoo,rahuldhote/odoo,Endika/OpenUpgrade,spadae22/odoo,dfang/odoo,nuncjo/odoo,BT-fgarbely/odoo,ygol/odoo,ApuliaSoftware/odoo,mlaitinen/odoo,leorochael/odoo,ShineFan/odoo,kybriainfotech/iSocioCRM,GauravSahu/odoo,srimai/odoo,GauravSahu/odoo,ChanduERP/odoo,stephen144/odoo,BT-rmartin/odoo,incaser/odoo-odoo,factorlibre/OCB,brijeshkesariya/odoo,eino-makitalo/odoo,storm-computers/odoo,x111ong/odoo,kittiu/odoo,gorjuce/odoo,markeTIC/OCB,cedk/odoo,luistorresm/odoo,Maspear/odoo,ingadhoc/odoo,ygol/odoo,ingadhoc/odoo,BT-ojossen/odoo,vnsofthe/odoo,brijeshkesariya/odoo,grap/OpenUpgrade,VielSoft/odoo,ehirt/odoo,hubsaysnuaa/odoo,shingonoide/odoo,fuhongliang/odoo,acshan/odoo,stephen144/odoo,markeTIC/OCB,spadae22/odoo,nuncjo/odoo,laslabs/odoo,GauravSahu/odoo,cloud9UG/odoo,mszewczy/odoo,apanju/GMIO_Odoo,rubencabrera/odoo,mszewczy/odoo,GauravSahu/odoo,luistorresm/odoo,ShineFan/odoo,funkring/fdoo,rgeleta/odoo,minhtuancn/odoo,jfpla/odoo,brijeshkesariya/odoo,tvibliani/odoo,shaufi/odoo,CatsAndDogsbvba/odoo,ingadhoc/odoo,microcom/odoo,poljeff/odoo,hubsaysnuaa/odoo,poljeff/odoo,rowemoore/odoo,dariemp/odoo,apanju/GMIO_Odoo,ehirt/odoo,Nowheresly/odoo,Bachaco-ve/odoo,datenbetrieb/odoo,rowemoore/odoo,windedge/odoo,NeovaHealth/odoo,jiangzhixiao/odoo,ovnicraft/odoo,apocalypsebg/odoo,provaleks/o8,cedk/odoo,Adel-Magebinary/odoo,QianBIG/odoo,shaufi10/odoo,fjbatresv/odoo,apanju/GMIO_Odoo,RafaelTorrealba/odoo,cloud9UG/odoo,grap/OpenUpgrade,luistorresm/odoo,tinkhaven-organization/odoo,minhtuancn/odoo,xzYue/odoo,incaser/odoo-odoo,shaufi10/odoo,jfpla/odoo,sv-dev1/odoo,lgscofield/odoo,kybriainfotech/iSocioCRM,glovebx/odoo,ygol/odoo,Bachaco-ve/odoo,hip-odoo/odoo,Nowheresly/odoo,Daniel-CA/odoo,Noviat/odoo,goliveirab/odoo,NeovaHealth/odoo,ChanduERP/odoo,Nowheresly/odoo,jiangzhixiao/odoo,dsfsdgsbngfggb/odoo,ChanduERP/odoo,ehirt/odoo,ShineFan/odoo,luistorresm/odoo,Elico-Corp/odoo_OCB,glovebx/odoo,ehirt/odoo,dfang/odoo,goliveirab/odoo,hoatle/odoo,brijeshkesariya/odoo,hubsaysnuaa/odoo,jiangzhixiao/odoo,lsinfo/odoo,hip-odoo/odoo,CatsAndDogsbvba/odoo,Endika/odoo,dalegregory/odoo,cloud9UG/odoo,shingonoide/odoo,AuyaJackie/odoo,srimai/odoo,factorlibre/OCB,rgeleta/odoo,bplancher/odoo,shingonoide/odoo,sinbazhou/odoo,ApuliaSoftware/odoo,hip-odoo/odoo,chiragjogi/odoo,salaria/odoo,sergio-incaser/odoo,xzYue/odoo,chiragjogi/odoo,alexcuellar/odoo,QianBIG/odoo,hoatle/odoo,avoinsystems/odoo,brijeshkesariya/odoo,Bachaco-ve/odoo,KontorConsulting/odoo,OpenUpgrade/OpenUpgrade,steedos/odoo,AuyaJackie/odoo,datenbetrieb/odoo,takis/odoo,jfpla/odoo,eino-makitalo/odoo,BT-ojossen/odoo,QianBIG/odoo,hanicker/odoo,vnsofthe/odoo,bplancher/odoo,Noviat/odoo,glovebx/odoo,shingonoide/odoo,fuhongliang/odoo,makinacorpus/odoo,shaufi10/odoo,cedk/odoo,draugiskisprendimai/odoo,cedk/odoo,ShineFan/odoo,dariemp/odoo,ApuliaSoftware/odoo,dsfsdgsbngfggb/odoo,CatsAndDogsbvba/odoo,BT-ojossen/odoo,kittiu/odoo,AuyaJackie/odoo,optima-ict/odoo,rubencabrera/odoo,gorjuce/odoo,KontorConsulting/odoo,n0m4dz/odoo,diagramsoftware/odoo,lsinfo/odoo,diagramsoftware/odoo,lgscofield/odoo,RafaelTorrealba/odoo,KontorConsulting/odoo,bplancher/odoo,eino-makitalo/odoo,makinacorpus/odoo,shaufi/odoo,hassoon3/odoo,Daniel-CA/odoo,Antiun/odoo,tangyiyong/odoo,shaufi10/odoo,Endika/OpenUpgrade,dsfsdgsbngfggb/odoo,cedk/odoo,Adel-Magebinary/odoo,ovnicraft/odoo,rahuldhote/odoo,NeovaHealth/odoo,Maspear/odoo,tangyiyong/odoo,Bachaco-ve/odoo,salaria/odoo,alexcuellar/odoo,BT-rmartin/odoo,windedge/odoo,dalegregory/odoo,Antiun/odoo,draugiskisprendimai/odoo,Adel-Magebinary/odoo,spadae22/odoo,steedos/odoo,ecosoft-odoo/odoo,funkring/fdoo,MarcosCommunity/odoo,fjbatresv/odoo,mustafat/odoo-1,sysadminmatmoz/OCB,ygol/odoo,slevenhagen/odoo,factorlibre/OCB,vnsofthe/odoo,optima-ict/odoo,VielSoft/odoo,lgscofield/odoo,grap/OpenUpgrade,fevxie/odoo,tinkhaven-organization/odoo,sergio-incaser/odoo,microcom/odoo,ehirt/odoo,dsfsdgsbngfggb/odoo,poljeff/odoo,fuhongliang/odoo,Nowheresly/odoo,goliveirab/odoo,ecosoft-odoo/odoo,makinacorpus/odoo,OpenUpgrade/OpenUpgrade,gorjuce/odoo,fuhongliang/odoo,tangyiyong/odoo,vnsofthe/odoo,avoinsystems/odoo,hanicker/odoo,diagramsoftware/odoo,odootr/odoo,dalegregory/odoo,Bachaco-ve/odoo,srimai/odoo,datenbetrieb/odoo,dsfsdgsbngfggb/odoo,NeovaHealth/odoo,alexcuellar/odoo,fevxie/odoo,factorlibre/OCB,hanicker/odoo,cedk/odoo,syci/OCB,rubencabrera/odoo,dfang/odoo,AuyaJackie/odoo,hassoon3/odoo,n0m4dz/odoo,minhtuancn/odoo,jfpla/odoo,synconics/odoo,odootr/odoo,storm-computers/odoo,x111ong/odoo,markeTIC/OCB,VielSoft/odoo,spadae22/odoo,spadae22/odoo,Maspear/odoo,jfpla/odoo,sysadminmatmoz/OCB,n0m4dz/odoo,nuncjo/odoo,x111ong/odoo,goliveirab/odoo,synconics/odoo,alexcuellar/odoo,BT-rmartin/odoo,storm-computers/odoo,vnsofthe/odoo,GauravSahu/odoo,ChanduERP/odoo,BT-rmartin/odoo,windedge/odoo,lgscofield/odoo,ecosoft-odoo/odoo,ehirt/odoo,mlaitinen/odoo,mustafat/odoo-1,hassoon3/odoo,KontorConsulting/odoo,sergio-incaser/odoo,dfang/odoo,jiangzhixiao/odoo,goliveirab/odoo,diagramsoftware/odoo,ChanduERP/odoo,microcom/odoo,takis/odoo,JGarcia-Panach/odoo,hoatle/odoo,dariemp/odoo,glovebx/odoo,kittiu/odoo,dfang/odoo,acshan/odoo,kybriainfotech/iSocioCRM,nuncjo/odoo,datenbetrieb/odoo,mszewczy/odoo,Daniel-CA/odoo,provaleks/o8,lsinfo/odoo,nuncjo/odoo,acshan/odoo,RafaelTorrealba/odoo,lgscofield/odoo,rubencabrera/odoo,avoinsystems/odoo,funkring/fdoo,makinacorpus/odoo,fevxie/odoo,markeTIC/OCB,srimai/odoo,BT-fgarbely/odoo,rahuldhote/odoo,leorochael/odoo,goliveirab/odoo,steedos/odoo,diagramsoftware/odoo,Endika/odoo,avoinsystems/odoo,storm-computers/odoo,sinbazhou/odoo,ApuliaSoftware/odoo,Noviat/odoo,takis/odoo,sv-dev1/odoo,Antiun/odoo,steedos/odoo,incaser/odoo-odoo,VielSoft/odoo,draugiskisprendimai/odoo,sergio-incaser/odoo,sysadminmatmoz/OCB,ChanduERP/odoo,rubencabrera/odoo,n0m4dz/odoo,leorochael/odoo,hip-odoo/odoo,OpenUpgrade/OpenUpgrade,n0m4dz/odoo,jiangzhixiao/odoo,fuhongliang/odoo,fevxie/odoo,poljeff/odoo,Antiun/odoo,Daniel-CA/odoo,rahuldhote/odoo,Noviat/odoo,acshan/odoo,Elico-Corp/odoo_OCB,NeovaHealth/odoo,AuyaJackie/odoo,factorlibre/OCB,markeTIC/OCB,rowemoore/odoo,lsinfo/odoo,mlaitinen/odoo,x111ong/odoo,kybriainfotech/iSocioCRM,tinkhaven-organization/odoo,tvibliani/odoo,slevenhagen/odoo,sinbazhou/odoo,JGarcia-Panach/odoo,sergio-incaser/odoo,Adel-Magebinary/odoo,Noviat/odoo,sv-dev1/odoo,xzYue/odoo,Noviat/odoo,avoinsystems/odoo,RafaelTorrealba/odoo,laslabs/odoo,funkring/fdoo,BT-ojossen/odoo,MarcosCommunity/odoo,GauravSahu/odoo,cedk/odoo,tvibliani/odoo,sysadminmatmoz/OCB,takis/odoo,optima-ict/odoo,laslabs/odoo,brijeshkesariya/odoo,ecosoft-odoo/odoo,dariemp/odoo,BT-fgarbely/odoo,ygol/odoo,slevenhagen/odoo,salaria/odoo,tangyiyong/odoo,cloud9UG/odoo,apanju/GMIO_Odoo,dsfsdgsbngfggb/odoo,hanicker/odoo,slevenhagen/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,VielSoft/odoo,ovnicraft/odoo,provaleks/o8,eino-makitalo/odoo,ingadhoc/odoo,rubencabrera/odoo,glovebx/odoo,shingonoide/odoo,MarcosCommunity/odoo,steedos/odoo,QianBIG/odoo,QianBIG/odoo,ingadhoc/odoo,laslabs/odoo,slevenhagen/odoo,ygol/odoo,chiragjogi/odoo,ecosoft-odoo/odoo,shaufi/odoo,srimai/odoo,BT-ojossen/odoo,mlaitinen/odoo,srimai/odoo,avoinsystems/odoo,salaria/odoo,avoinsystems/odoo,ovnicraft/odoo,MarcosCommunity/odoo,stephen144/odoo,BT-ojossen/odoo,Endika/odoo,kittiu/odoo,OpenUpgrade/OpenUpgrade,fjbatresv/odoo,jiangzhixiao/odoo,dfang/odoo,n0m4dz/odoo,QianBIG/odoo,alexcuellar/odoo,hassoon3/odoo,rgeleta/odoo,ingadhoc/odoo,tinkhaven-organization/odoo,tangyiyong/odoo,funkring/fdoo,optima-ict/odoo,apocalypsebg/odoo,cloud9UG/odoo,MarcosCommunity/odoo,Maspear/odoo,microcom/odoo,datenbetrieb/odoo,kybriainfotech/iSocioCRM,rahuldhote/odoo,makinacorpus/odoo,BT-rmartin/odoo,sinbazhou/odoo,kybriainfotech/iSocioCRM,hoatle/odoo,odootr/odoo,fuhongliang/odoo,Endika/odoo,bplancher/odoo,apanju/GMIO_Odoo,AuyaJackie/odoo,apanju/GMIO_Odoo,stephen144/odoo,tinkhaven-organization/odoo,ovnicraft/odoo,sv-dev1/odoo,windedge/odoo,sysadminmatmoz/OCB,BT-rmartin/odoo,hanicker/odoo,factorlibre/OCB,odootr/odoo,n0m4dz/odoo,shingonoide/odoo,shaufi/odoo,windedge/odoo,alexcuellar/odoo,BT-fgarbely/odoo,storm-computers/odoo,hubsaysnuaa/odoo,provaleks/o8,fjbatresv/odoo,leorochael/odoo,hubsaysnuaa/odoo,sinbazhou/odoo,Endika/OpenUpgrade,makinacorpus/odoo,minhtuancn/odoo,fjbatresv/odoo,cloud9UG/odoo,slevenhagen/odoo,poljeff/odoo,tvibliani/odoo,RafaelTorrealba/odoo,luistorresm/odoo,cloud9UG/odoo,Adel-Magebinary/odoo,Antiun/odoo,RafaelTorrealba/odoo,jiangzhixiao/odoo,diagramsoftware/odoo,goliveirab/odoo,shaufi/odoo,Antiun/odoo,sysadminmatmoz/OCB,luistorresm/odoo,laslabs/odoo,apocalypsebg/odoo,draugiskisprendimai/odoo,JGarcia-Panach/odoo,gorjuce/odoo,syci/OCB,markeTIC/OCB,funkring/fdoo,acshan/odoo,rahuldhote/odoo,tvibliani/odoo,bplancher/odoo,xzYue/odoo,ApuliaSoftware/odoo,Endika/OpenUpgrade,poljeff/odoo,Endika/odoo,windedge/odoo,Maspear/odoo,dariemp/odoo,draugiskisprendimai/odoo,Nowheresly/odoo,dsfsdgsbngfggb/odoo,lgscofield/odoo,kybriainfotech/iSocioCRM,ShineFan/odoo,hip-odoo/odoo,dariemp/odoo,jfpla/odoo,hoatle/odoo