[FIX] account: never allow modification of posted entries
[FIX] account: never allow modification of posted entries

Posted moves are not protected from modification if the journal is set
to 'autopost'.

If an account move is posted in a journal with 'Autopost' set, it is
possible to modify the associated move lines without any restriction.
This can for example lead to the creation of unbalanced moves.

The original issue fixed by this extra condition
(https://bugs.launchpad.net/openobject-addons/+bug/615268) does not
occur if the commit is reverted.

This reverts 4e95e4223

Closes #12014
opw-683165

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