fix(order): carry item weight through the contract-to-model transformer #30

Merged
aefril merged 1 commits from feature/weight-based-products into main 2026-09-06 17:46:08 +02:00
1 Commits
Author SHA1 Message Date
efrilmandClaude Opus 5 f2701882dc fix(order): carry item weight through the contract-to-model transformer
CreateOrderContractToModel and AddToOrderContractToModel copied every order
item field except Weight, so a weight sent by the client never reached the
processor and every weight-based line failed with "product ... is sold by
weight and requires a weight".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-06 22:44:55 +07:00