Skip to content
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

Merged
merged 4 commits into from
Apr 17, 2015
Merged

Conversation

JordiBForgeFlow
Copy link
Member

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.

…ions to disable "Create..." and "Create and Edit..." entry for all widgets in the odoo instance.
@legalsylvain legalsylvain added this to the 7.0 milestone Apr 13, 2015
@@ -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',];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't aligned.

@pedrobaeza
Copy link
Member

A little remark, but seems OK at first sight.

@JordiBForgeFlow
Copy link
Member Author

Done. Thanks for your review @pedrobaeza

@pedrobaeza
Copy link
Member

Tried on runbot (in base database installing modules, because all doesn't work) and the module works perfectly.

👍 Thanks.

@hbrunn
Copy link
Member

hbrunn commented Apr 17, 2015

👍

@pedrobaeza
Copy link
Member

I merge so that #120 can implement such functionality.

pedrobaeza added a commit that referenced this pull request Apr 17, 2015
@pedrobaeza pedrobaeza merged commit 1b25de8 into OCA:7.0 Apr 17, 2015
@JordiBForgeFlow
Copy link
Member Author

Thanks!!

leemannd pushed a commit to camptocamp/web that referenced this pull request May 29, 2018
vrenaville pushed a commit to camptocamp/web that referenced this pull request Jul 19, 2018
[ADD] groups to button Invoicable in project task BSMTS-225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants