128d51755d9542807a7ccb6b8c78786e3c63f6e2
Builds 7-8 orders in each of 13 workflow states to simulate a full pipeline: - Quotation (sale.order draft) - Quote Sent (sale.order sent) - Order Confirmed / Job Confirmed - Job In Progress (Early + Mid) - Job On Hold (with quality hold) - Job Done / Delivery Draft - Delivery Scheduled / En Route / Delivered - Invoice Draft / Posted / Paid Each record fills detailed fields: PO numbers, commitment dates, operator assignments, timelogs, thickness readings on certs, delivery contacts/vehicles/drivers, payment journals, etc. Idempotency-ish: each order wrapped in a savepoint so one failure doesn't crash the whole seed. Workflow walkthrough findings encoded in script header docstring, including the gotchas: (1) SO action_confirm creates fp.job in DRAFT state with 0 steps — must call action_confirm + _generate_steps_from_recipe explicitly; (2) invoice_payment_term_id is REQUIRED to post invoices; (3) account.payment.action_validate moves payment to 'paid' but invoice goes to 'in_payment' (not 'paid' — Odoo 19 design, requires bank reconciliation for full 'paid' state). Part of: native job model migration (spec 2026-04-25) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
Odoo 19 custom modules
Languages
Python
55.9%
HTML
26.1%
JavaScript
14.9%
SCSS
1.8%
CSS
0.8%
Other
0.4%