Skip to Content
Menu
v 15.0 Third Party 496
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 134
Technical Name hide_action_menu_buttons
LicenseAGPL-3
Websitehttps://www.linkedin.com/in/marwen-weslati/
Versions 15.0 16.0 17.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 134
Technical Name hide_action_menu_buttons
LicenseAGPL-3
Websitehttps://www.linkedin.com/in/marwen-weslati/
Versions 15.0 16.0 17.0

Hide Action Menu Button Guide

Contact Me

LinkedIn: https://www.linkedin.com/in/marwen-weslati

Step 1: Model & User Group Configuration

Go to the user and add them to the corresponding group.

User Group

Step 2: Add Models Configuration

Add corresponding models.

Models Configuration

Additional Notes

Do not leave any space in the models list. The list of models should be separated by a comma.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
Gettting this Error while installing
by
qudratullah2050@gmail.com
on 10/16/24, 6:40 AM

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/root/odoo15-server/odoo/addons/base/models/ir_http.py", line 237, in _dispatch

    result = request.dispatch()

  File "/root/odoo15-server/odoo/http.py", line 687, in dispatch

    result = self._call_function(**self.params)

  File "/root/odoo15-server/odoo/http.py", line 359, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/root/odoo15-server/odoo/service/model.py", line 94, in wrapper

    return f(dbname, *args, **kwargs)

  File "/root/odoo15-server/odoo/http.py", line 348, in checked_call

    result = self.endpoint(*a, **kw)

  File "/root/odoo15-server/odoo/http.py", line 916, in __call__

    return self.method(*args, **kw)

  File "/root/odoo15-server/odoo/http.py", line 535, in response_wrap

    response = f(*args, **kw)

  File "/root/odoo15-server/addons/web/controllers/main.py", line 1346, in call_button

    action = self._call_kw(model, method, args, kwargs)

  File "/root/odoo15-server/addons/web/controllers/main.py", line 1334, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/root/odoo15-server/odoo/api.py", line 464, in call_kw

    result = _call_kw_multi(method, model, args, kwargs)

  File "/root/odoo15-server/odoo/api.py", line 451, in _call_kw_multi

    result = method(recs, *args, **kwargs)

  File "<decorator-gen-74>", line 2, in button_immediate_install

  File "/root/odoo15-server/odoo/addons/base/models/ir_module.py", line 74, in check_and_log

    return method(self, *args, **kwargs)

  File "/root/odoo15-server/odoo/addons/base/models/ir_module.py", line 483, in button_immediate_install

    return self._button_immediate_function(type(self).button_install)

  File "/root/odoo15-server/odoo/addons/base/models/ir_module.py", line 600, in _button_immediate_function

    registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "/root/odoo15-server/odoo/modules/registry.py", line 87, in new

    odoo.modules.load_modules(registry, force_demo, status, update_module)

  File "/root/odoo15-server/odoo/modules/loading.py", line 474, in load_modules

    processed_modules += load_marked_modules(cr, graph,

  File "/root/odoo15-server/odoo/modules/loading.py", line 363, in load_marked_modules

    loaded, processed = load_module_graph(

  File "/root/odoo15-server/odoo/modules/loading.py", line 222, in load_module_graph

    load_data(cr, idref, mode, kind='data', package=package)

  File "/root/odoo15-server/odoo/modules/loading.py", line 69, in load_data

    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)

  File "/root/odoo15-server/odoo/tools/convert.py", line 745, in convert_file

    convert_xml_import(cr, module, fp, idref, mode, noupdate)

  File "/root/odoo15-server/odoo/tools/convert.py", line 790, in convert_xml_import

    doc = etree.parse(xmlfile)

  File "src/lxml/etree.pyx", line 3521, in lxml.etree.parse

  File "src/lxml/parser.pxi", line 1880, in lxml.etree._parseDocument

  File "src/lxml/parser.pxi", line 1900, in lxml.etree._parseFilelikeDocument

  File "src/lxml/parser.pxi", line 1795, in lxml.etree._parseDocFromFilelike

  File "src/lxml/parser.pxi", line 1201, in lxml.etree._BaseParser._parseDocFromFilelike

  File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc

  File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult

  File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError

Exception


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "/root/odoo15-server/odoo/http.py", line 643, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/root/odoo15-server/odoo/http.py", line 301, in _handle_exception

    raise exception.with_traceback(None) from new_cause

  File "/root/custom/hide_action_menu_buttons/views/res_config_settings.xml", line 18

lxml.etree.XMLSyntaxError: attributes construct error, line 18, column 55