OCA / program

GNU Affero General Public License v3.0
11 stars 26 forks source link

[UPD]Disable create and create_edit option #23

Closed ehdem closed 8 years ago

ehdem commented 9 years ago

Don't allow 'create' and 'create_edit' for these fields:

pedrobaeza commented 9 years ago

Isn't a better option to use https://github.com/OCA/web/tree/8.0/web_m2x_options than disabling everything?

yvaucher commented 9 years ago

@ehdem to use web_m2x_options and to let the tests passes you need to add the dependency for travis

bwrsandman commented 9 years ago

@pedrobaeza This is exactly what is being done. The options don't do anything unless the module is installed. The web_m2x_options module is optional, but once you install it the proper creations are disabled.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+0.8%) to 72.2% when pulling cfb95b2ac735143b902fb62a117aa76222289a3c on savoirfairelinux:7.0_program_disable_create_option into 655d6f34e4ec8395d03546737fbd1211862c1207 on OCA:7.0.

bwrsandman commented 9 years ago

:+1:

gurneyalex commented 8 years ago

@ehdem the fact that web_m2x_options improves this module should be written in the description. When done, I'm :+1:

ventilooo commented 8 years ago

Same as @gurneyalex ! :+1: