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

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

The video tutorial includes the step-by-step procedure of building a custom module in Odoo version 13. Covers the areas of Models and field declarations, menus and various views (form, tree, search), security groups, and access rights.

Video Contents:
————————–
00:00 Introduction
00:48 How to create a New Business Object
01:12 What is an ORM Layer
9:15 How to create a Menu in the Interface
19:52 How to Update your Module in Odoo
22:25 How to view a Module Information

Watch Part 1 Video:

Related Videos:
Configure Odoo 14 Project on Pycharm Ubuntu:
Building a Module in Odoo 14:
Composition of a module in Odoo 14:
Module Structure in Odoo 14:
Empty Module Structure Scaffold in Odoo 14:

Topics
1. Composition of a module
2. Scaffold Method
3. Object – Relational Mapping
4. Model fields
5. Data files
6. Actions and menus
7. Basic views
Get the module from our repository:

The video tutorial includes the step-by-step procedure of building a custom module in Odoo version 13. Covers the areas of Models and field declarations, menus and various views (form, tree, search), security groups, and access rights.

The video covers the region of the composition of the basic structure of the module, and the creation of the module structure using the scaffold command method.
It also discusses the relational mapping between the objects along with the field type and field declarations.

Beginners will get a clear idea about creating views and corresponding actions through this video.

The data creation in specific models using the data files at the time of installation is also mentioned in the video.#odoo13 #odootutorials #odoomodule #odoo #odoodevelopment
For More Videos Subscribe to our YouTube channel.

Learn more about creating Modules by referring to Odoo v13 Book:
Visit our company website:

Connect With Us:

➡️Website:
➡️Email : info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:

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

Similar Posts

11 Comments

  1. avatar
    @bossmohammed2017 says:

    Hello Sir, I am using Windows. I have installed Pycharm and Odoo13. i created a custom module with the scaffold command. Following your tutorial, I am unable to import any class from the odoo library. I am getting unresolved reference error. Kindly help.

  2. avatar
    @jeffersonqueiroz8284 says:

    When you update or modulate the module that is producing method 13, you get this error

    Erro:

    Odoo Server Error

    Traceback (most recent call last):

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 619, in _handle_exception

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

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 309, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

    File "C:Program Files (x86)Odoo 13.0serverodootoolspycompat.py", line 14, in reraise

    raise value

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 664, in dispatch

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

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 345, in _call_function

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

    File "C:Program Files (x86)Odoo 13.0serverodooservicemodel.py", line 93, in wrapper

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

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 338, in checked_call

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

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 910, in _call_

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

    File "C:Program Files (x86)Odoo 13.0serverodoohttp.py", line 510, in response_wrap

    response = f(*args, **kw)

    File "C:Program Files (x86)Odoo 13.0serverodooaddonswebcontrollersmain.py", line 1324, in call_button

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

    File "C:Program Files (x86)Odoo 13.0serverodooaddonswebcontrollersmain.py", line 1312, in _call_kw

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

    File "C:Program Files (x86)Odoo 13.0serverodooapi.py", line 387, in call_kw

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

    File "C:Program Files (x86)Odoo 13.0serverodooapi.py", line 374, in _call_kw_multi

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

    File "<decorator-gen-65>", line 2, in button_immediate_upgrade

    File "C:Program Files (x86)Odoo 13.0serverodooaddonsbasemodelsir_module.py", line 72, in check_and_log

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

    File "C:Program Files (x86)Odoo 13.0serverodooaddonsbasemodelsir_module.py", line 634, in button_immediate_upgrade

    return self._button_immediate_function(type(self).button_upgrade)

    File "C:Program Files (x86)Odoo 13.0serverodooaddonsbasemodelsir_module.py", line 573, in _button_immediate_function

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

    File "C:Program Files (x86)Odoo 13.0serverodoomodulesregistry.py", line 86, in new

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

    File "C:Program Files (x86)Odoo 13.0serverodoomodulesloading.py", line 419, in load_modules

    force, status, report, loaded_modules, update_module, models_to_check)

    File "C:Program Files (x86)Odoo 13.0serverodoomodulesloading.py", line 315, in load_marked_modules

    perform_checks=perform_checks, models_to_check=models_to_check

    File "C:Program Files (x86)Odoo 13.0serverodoomodulesloading.py", line 225, in load_module_graph

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

    File "C:Program Files (x86)Odoo 13.0serverodoomodulesloading.py", line 68, in load_data

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

    File "C:Program Files (x86)Odoo 13.0serverodootoolsconvert.py", line 732, in convert_file

    convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)

    File "C:Program Files (x86)Odoo 13.0serverodootoolsconvert.py", line 779, in convert_csv_import

    raise Exception(_('Module loading %s failed: file %s could not be processed:n %s') % (module, fname, warning_msg))

    Exception: Carregamento do Módulo my_first_module falhou: arquivo my_first_modulesecurity/ir.model.access.csv não pode ser processado:

    Nenhum registro encontrado para id externo 'model_my_first_module_my_first_module' no campo 'Object'

    Faltando valor necessário para o campo 'Object' (model_id)

Leave a Reply

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