-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMP] web_m2x_options #114
Conversation
…ions to disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
@@ -8,8 +8,35 @@ openerp.web_m2x_options = function (instance) { | |||
_t = instance.web._t, | |||
_lt = instance.web._lt; | |||
|
|||
var OPTIONS = ['web_m2x_options.create', | |||
'web_m2x_options.create_edit', | |||
'web_m2x_options.limit',]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't aligned.
A little remark, but seems OK at first sight. |
Done. Thanks for your review @pedrobaeza |
Tried on runbot (in base database installing modules, because all doesn't work) and the module works perfectly. 👍 Thanks. |
👍 |
I merge so that #120 can implement such functionality. |
Thanks!! |
Fix uat sp4
[ADD] groups to button Invoicable in project task BSMTS-225
This PR is a backport from the 8.0, that adds the feature that makes it possible to disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
I could not test the option 'm2o_dialog'. I don't really understand what it means. By inspecting the code it seems that this option has no effect in the application.
Regards,
Jordi.