Skip to content

[19.0][ADD] crm_lost_reason_required: Make lost reason mandatory#759

Open
max3903 wants to merge 1 commit into
OCA:19.0from
ursais:19.0-add-crm_lost_reason_required
Open

[19.0][ADD] crm_lost_reason_required: Make lost reason mandatory#759
max3903 wants to merge 1 commit into
OCA:19.0from
ursais:19.0-add-crm_lost_reason_required

Conversation

@max3903

@max3903 max3903 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Add crm_lost_reason_required for Odoo 19.0 (ported from the open 17.0 ADD work in [ADD] crm_lost_reason_required #694).
  • Makes lost_reason_id required on the Mark as Lost wizard (crm.lead.lost).
  • Includes readme, icon, and a unit test that asserts the combined wizard view requires the field.

Dependencies

All manifest dependencies are already on 19.0 (crm is core).

Checklist

  • Local pre-commit passes
  • Local tests pass (--test-tags=/crm_lost_reason_required)
  • Python coverage 100% on module (no executable logic beyond tests/__init__)

@max3903 max3903 added this to the 19.0 milestone Jul 24, 2026
@max3903 max3903 self-assigned this Jul 24, 2026
Port the 17.0 ADD work to 19.0 so marking a lead/opportunity as lost
requires selecting a lost reason on the wizard.
@max3903
max3903 force-pushed the 19.0-add-crm_lost_reason_required branch 2 times, most recently from a09dc7a to 08f2dd1 Compare July 24, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant