733236f9876c91a19a42bdf699136e50c77ffb38
The wizard was calling so.action_confirm() immediately after creating the sale order, which flipped it from draft to sale state and triggered the fusion_plating_notifications hook that auto-emails the customer. Client wants a review step: keep the SO in quotation (draft) so the user can adjust before the customer sees anything. They manually click Send (to email the quotation) or Confirm (to convert to sale order, which intentionally fires the confirmation email). Changes: - Remove so.action_confirm() call in action_create_order - Update docstring + inline comment to reflect manual-confirm flow - Update the chatter message on the created SO CLAUDE.md updated to mark Sub 1 + Sub 2 as Shipped. Verified: - Static check: wizard.action_create_order contains no action_confirm - Dynamic check: SO created programmatically stays in draft - Manual action_confirm() flow still works as designed 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%