server-ux icon indicating copy to clipboard operation
server-ux copied to clipboard

[16.0][IMP] server-ux: Add the possibility to disable create/edit from relational fields in form views

Open lmarion-source opened this issue 1 year ago • 6 comments

This module allows you to configure models so that you cannot create/edit a new instance/an existing instance from a relational field on another model

lmarion-source avatar Sep 03 '24 08:09 lmarion-source

Hi @etobella, some modules you are maintaining are being modified, check this out!

OCA-git-bot avatar Sep 03 '24 08:09 OCA-git-bot

You edited a lot of files of other modules. And the commit description is not on the right format

etobella avatar Sep 03 '24 08:09 etobella

@etobella My pre-commit changed some of your files. I removed those changes, they are not relevant.

lmarion-source avatar Sep 03 '24 09:09 lmarion-source

Also, the commit message is not properly formed

https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#commit-message

etobella avatar Sep 03 '24 10:09 etobella

@lmarion-source

Excuse me, but to understand it correctly, what does development contribute compared to this other one?

https://github.com/OCA/web/tree/16.0/web_m2x_options

kikopeiro avatar Sep 06 '24 12:09 kikopeiro

Hello @kikopeiro ,

m2x_options allows to disable create/edit model by model. In my case, you just have to set a config parameter "avoid_create_edit" to True and this field is disabled for create/edit on all models it appears.

lmarion-source avatar Sep 06 '24 13:09 lmarion-source

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Jan 19 '25 12:01 github-actions[bot]