Cobra · Dev
An integrator code review handled in full, point by point
Context
After a change Cobra made to an Odoo module (cobra_vendor_payment_confirm), the external integrator (Irokoo) came back with 6 technical review points (security, reliability, code consistency). Rather than handling them in bulk, each point was evaluated individually — with, for some, a deliberate choice not to follow the recommendation to the letter.
What was done
- 3 points fixed as recommended: a hard-coded template identifier replaced with a stable reference, an idempotency guard + unit conversion, exclusion of credit notes from the scope.
- 2 points fixed with an explicit trade-off: the recommendation would have removed the visibility of exchanges in the Odoo history (the "chatter"), something Hugo cared about — kept, but the underlying risk (forced send) neutralized another way.
- 1 point deliberately declined: renaming fields already populated in production, judged disproportionate for a merely "nice-to-have" point.
- Along the way, a bug not flagged by Irokoo caught and fixed: the French translation of the email template had been lost during an earlier recreation — restored.
- Deployed in an isolated Git worktree, because another job was already running in parallel on the same shared repo — to take no risk of interference.
What was hard
Handling external feedback without following it blindly or rejecting it wholesale: telling apart what's a real risk, what's a style preference, and what would break a behavior deliberately chosen by Cobra — then being able to justify each choice in writing to the integrator.
Stack
Python (Odoo ORM), XML (data records, email templates), Git (isolated worktree, cherry-pick). Module cobra_vendor_payment_confirm at version 18.0.1.12.0.
What this illustrates
A balanced technical dialogue with an external provider: Irokoo's feedback is taken seriously, but each point is replayed with the full business context rather than applied mechanically — and disagreement, when there is any, is documented rather than hidden.