The INSERT INTO stock_move_line was missing product_uom_id and date columns which are NOT NULL. Now copies product_uom and date from the parent stock_move record. Full stock flow now works: - Confirm: reserves quants (qty=100, reserved=5) - Move state: draft → assigned (with move_line created) - Validate: source quant 100→95, dest quant 0→5, state → done Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
28 KiB
28 KiB