How to Build Custom Module in Odoo 15? | Odoo 15 Development Tutorial – CBMS Odoo ERP

How to Build Custom Module in Odoo 15? | Odoo 15 Development Tutorial – CBMS Odoo ERP

This video discusses building a custom module in #odoo15 and also detail each component in the module such as models, views, security, and how can we add those files and set up a module.

#odoo15tutorials #odoocustommodule

Connect With Us:
————————
➡️Website:
➡️Email: info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:

#Build #Custom #Module #Odoo #Odoo #Development #Tutorial

Similar Posts

4 Comments

  1. avatar
    @melvinguerra9563 says:

    Hello there, is there anyway you can explain the files that are imported using scaffold method and their functionalities, since everytime I use this method I have files that are not present in this video.

  2. avatar
    @muhammadzeeshanbaqir6058 says:

    Hi, After we create travel_management module in custom_addon are not installed it gives an erorr

    RPC_ERROR
    Odoo Server Error
    Traceback (most recent call last):
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 687, in dispatch
    result = self._call_function(**self.params)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 348, in checked_call
    result = self.endpoint(*a, **kw)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 916, in _call_
    return self.method(*args, **kw)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 535, in response_wrap
    response = f(*args, **kw)
    File "/home/workspace/PycharmProjects/Odoo/odoo/addons/web/controllers/main.py", line 1346, in call_button
    action = self._call_kw(model, method, args, kwargs)
    File "/home/workspace/PycharmProjects/Odoo/odoo/addons/web/controllers/main.py", line 1334, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/api.py", line 464, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
    File "/home/workspace/PycharmProjects/Odoo/odoo/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 "/home/workspace/PycharmProjects/Odoo/odoo/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
    return method(self, *args, **kwargs)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/addons/base/models/ir_module.py", line 483, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
    File "/home/workspace/PycharmProjects/Odoo/odoo/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 "/home/workspace/PycharmProjects/Odoo/odoo/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/modules/loading.py", line 474, in load_modules
    processed_modules += load_marked_modules(cr, graph,
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/modules/loading.py", line 363, in load_marked_modules
    loaded, processed = load_module_graph(
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/modules/loading.py", line 222, in load_module_graph
    load_data(cr, idref, mode, kind='data', package=package)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/modules/loading.py", line 69, in load_data
    tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/tools/convert.py", line 741, in convert_file
    convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/tools/convert.py", line 783, in convert_csv_import
    result = env[model].load(fields, datas)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/models.py", line 1101, in load
    if isinstance(model_fields[field_path[0]], odoo.fields.Many2one):
    Exception

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

    Traceback (most recent call last):
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 643, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
    File "/home/workspace/PycharmProjects/Odoo/odoo/odoo/http.py", line 301, in _handle_exception
    raise exception.with_traceback(None) from new_cause
    KeyError: ' id'

Leave a Reply

Your email address will not be published. Required fields are marked *