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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_base_optional_quick_create-18.0.1.0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0810035d7114533d8c14fec9ded75dc840589312c86b820709d9c3b0fdb9c2e9
MD5 17866c13beeb4c5d24cc0a506a1d4033
BLAKE2b-256 a0e1d78961d1b9cc3978bdd6b0dcf3be76070f65bed990b2522dc7db1c1b4366

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