Rewrite _post_inventory to make it work better with mo batches. This mainly improves the time it takes to mark_as_done manufacturing orders from the Workorders ListView. stock.move._action_done is faster when called outside of a for loop, i.e. directly on self. opw-2760394 closes odoo/odoo#84846 X-original-commit: 4cc6083ea1bd28be07e275322481ad11d8995d58 Signed-off-by: William Henrotin (whe) <whe@odoo.com>