Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
87 Vistas

i create customize purchase module 
and i update path in oddo.conf file
addons_path = addons_path = C:\Program Files\Odoo 18.0\server\addons,C:\Users\LENOVO\OneDrive\Desktop\custom_purchase

after update applist custom purchase not showing 

Avatar
Descartar

Please stick to one post, the required path structure has been given there already. https://www.odoo.com/forum/1/284303

Mejor respuesta

Hi,

steps:

1. addons_path syntax error

In your config, you wrote:

addons_path = addons_path = C:\Program Files\Odoo 18.0\server\addons,C:\Users\LENOVO\OneDr


The addons_path = addons_path = part is wrong.It should be:

addons_path = C:\Program Files\Odoo 18.0\server\addons,C:\Users\LENOVO\OneDrive\Desktop\custom_purchase


2. Check __manifest__.py

Example:

{

    'name': 'Custom Sales',

    'version': '1.0',

    'category': 'Sales',

    'summary': 'Customizations for Sales',

    'depends': ['sale'],

    'data': [

        'views/sales_view.xml',

    ],

    'installable': True,

    'application': True,

    'license': 'LGPL-3',

}

- If installable is missing or set to False, Odoo hides the module.

3. Restart Odoo Service

After adding the module, restart your Odoo server



4. Update Apps List Properly

Go to Apps → Update Apps List → Update.


5. Remove "Apps" Filter

In Apps search, Odoo often applies the Apps filter (only official apps). Click the “Apps” filter tag to remove it, then search again.


Hope it helps.



Avatar
Descartar
Mejor respuesta
  1. The 'addons_path' should only be set once:
    addons_path = C:\Program Files\Odoo 18.0\server\addons,C:\Users\LENOVO\OneDrive\Desktop\custom_purchase

    so it should not be addons_path = addons_path = C:\Program Files\Odoo 18.0\server\addons,C:\Users\LENOVO\OneDrive\Desktop\custom_purchase

  2. addons_path only refers to the folder that contains your modules, not the path to the module itself.

    So for example, if your module is: custom_purchase, then the path that should be created is

    C:\Program Files\Odoo 18.0\server\addons,C:\Users\LENOVO\OneDrive\Desktop\[Folder to module]
    where that folder can contain several modules, for example:

    Folder to module

    ​custom_purchase
    ​module_2
    ​module_3
    ​etc.

Hope it helps.

Regards,

Appschef







Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jun 25
756
1
jun 25
841
2
may 25
860
2
mar 25
1613
0
ene 25
1493