Skip to main content

Avoid "quick create" on m2o fields, on a "by model" basis

Project description

Odoo Community Association

Optional quick create

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

This module allows to avoid to quick create new records, through many2one fields, for a specific model. You can configure which models should allow quick create. When specified, the quick create option will always open the standard create form.

Got the idea from https://twitter.com/nbessi/status/337869826028605441

Table of contents

Usage

To use this module, you need to:

  • go into the menu of ir_model,

  • select the model for which you want to disable the quick create option,

  • enable the option Avoid quick create.

Known issues / Roadmap

Issues

  • The module is implemented by patching the method name_create. When used, it may break odoo standard code.

  • There is a known issue when we activate the option on res.partner and using the module helpdesk.

If you do so, you will break the feature of creating an helpdesk.ticket when receiving an email. When we receive an email. If the contact doesn’t exist, odoo will use the method name_create. This module will raise a UserError and prevent the creation of both: helpdesk.ticket and res.partner.

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

  • Agile Business Group

Contributors

Other credits

This module is maintained by: * Odoo Community Association

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.

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_base_optional_quick_create-18.0.1.0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_base_optional_quick_create-18.0.1.0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8bdd18cf9debaad09aee0e9595c1a28daadc7abc271a593fe86997e3739d85a1
MD5 71627636893d2e1e0c63dfdc4f39b7db
BLAKE2b-256 15dd4f8f0986d6d279328bf02596f5eb2061345c53b28a8f04a48352f9637b1c

See more details on using hashes here.

Supported by

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