{"id":21171593,"url":"https://github.com/0k/web_m2o_enhanced","last_synced_at":"2025-10-09T15:36:24.906Z","repository":{"id":147002008,"uuid":"10283663","full_name":"0k/web_m2o_enhanced","owner":"0k","description":"OpenERP web module adding some great options.","archived":false,"fork":false,"pushed_at":"2014-06-11T16:28:50.000Z","size":172,"stargazers_count":16,"open_issues_count":0,"forks_count":22,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-09T20:52:59.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0k.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-25T12:11:44.000Z","updated_at":"2020-10-25T10:55:39.000Z","dependencies_parsed_at":"2023-03-25T09:25:18.907Z","dependency_job_id":null,"html_url":"https://github.com/0k/web_m2o_enhanced","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0k/web_m2o_enhanced","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0k%2Fweb_m2o_enhanced","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0k%2Fweb_m2o_enhanced/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0k%2Fweb_m2o_enhanced/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0k%2Fweb_m2o_enhanced/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0k","download_url":"https://codeload.github.com/0k/web_m2o_enhanced/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0k%2Fweb_m2o_enhanced/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001647,"owners_count":26083147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T16:08:27.600Z","updated_at":"2025-10-09T15:36:24.889Z","avatar_url":"https://github.com/0k.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"==================================\nAdd new options for many2one field\n==================================\n\nChange\n------\n\nweb_m2o_enhanced is now https://github.com/0k/web_m2x_options and support odoo v8.0 (see odoo/8.0 branch)\n\nDescription\n-----------\n\nThis modules modifies \"many2one\" form fields so as to add some new display\ncontrol options.\n\n**New: support many2manytags widget ! **\n\nOptions provided includes possibility to remove \"Create...\" and/or \"Create and\nEdit...\" entries from many2one drop down. You can also change default number of\nproposition appearing in the drop-down. Or prevent the dialog box poping in\ncase of validation error.\n\nIf not specified, the module will avoid proposing any of the create options\nif the current user have no permission rights to create the related object.\n\n\nRequirements\n------------\n\nWas tested on openerp v7.0\n\n\nNew option\n----------\n\n``create`` *boolean* (Default: depends if user have create rights)\n\n  Whether to display the \"Create...\" entry in dropdown panel.\n\n``create_edit`` *boolean* (Default: depends if user have create rights)\n\n  Whether to display \"Create and Edit...\" entry in dropdown panel\n\n``m2o_dialog`` *boolean* (Default: depends if user have create rights)\n\n  Whether to display the many2one dialog in case of validation error.\n\n``limit`` *int* (Default: openerp default value is ``7``)\n\n  Number of displayed record in drop-down panel\n\n\nExample\n-------\n\nYour XML form view definition could contain::\n\n    ...\n    \u003cfield name=\"partner_id\" options=\"{'limit': 10, 'create': false, 'create_edit': false}\"/\u003e\n    ...\n\nNote\n----\n\nDouble check that you have no inherited view that remote ``options`` you set on a field ! \nIf nothing work, add a debugger in the first ligne of ``get_search_result method`` and enable debug mode in OpenERP. When you write something in a many2one field, javascript debugger should pause. If not verify your installation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0k%2Fweb_m2o_enhanced","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0k%2Fweb_m2o_enhanced","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0k%2Fweb_m2o_enhanced/lists"}