Skip to main content

Base Cancel Confirm

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_base_cancel_confirm-16.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_base_cancel_confirm-16.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 01227b4e9e07d9e53cb5fd72e74953fe508110a91718554f5b5e48d7ed188c3e
MD5 22335a81f2c610e6390375d3c572db8b
BLAKE2b-256 395f923c79b8962291de918816db739ade27691ba987591335fc463772806d5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page