This commit groups creation and posting of account moves related to stock valuation in case of automatic valuation product. Previously, the account move were created one by one and posted right at the creation. Which can really slow (for instance running _run_fifo_vaccum with a large amount of remaining quantity layer) closes odoo/odoo#62700 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>