Toggle navigation

Base Cancel Confirm

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runboat

Many document model that already has cancel action may also want a confirm dialog with option to provide reason.

This module does not provide a functionality by itself but an abstract model to easily implement a confirm with reason wizard when cancel button is clicked. If reason is provided, it will be visible in form view.

Note: To be able to use this module in a new model you will need some development.

You can see implementation example as followings,

Table of contents

Configuration

By default, the cancel confirm will be disabled (to ensure no side effect on other module unit test)

To enable cancel confirm wizard, please add System Parameter (ir.config_parameter) for each extended module.

For example,

  • sale_cancel_confirm, add sale.order.cancel_confirm_disable = False
  • purchase_cancel_confirm, add purchase.order.cancel_confirm_disable = False

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Ecosoft

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

kittiu

This module is part of the OCA/server-ux project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.