[IMP] purchase: Hook for the base price of a purchase line
[IMP] purchase: Hook for the base price of a purchase line

To be able to change the logic without copying large chunk of code
Closes #1468

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