Skip to main content

Base Cancel Confirm

Project description

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

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 smashing 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 odoo14_addon_base_cancel_confirm-14.0.1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_base_cancel_confirm-14.0.1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1063f3eff431aaa3b89e05b539eafb58797bfac7c8aba75553b446cb0fb3e877
MD5 6d9d3c19dfb5b3438fb1d53b3cce750a
BLAKE2b-256 f02ad65c250731f61fb2b6e330ddddcdc79d4886ef226e2b28c313effafec89d

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