Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
56 Näkymät

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
Hylkää

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

Paras vastaus

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
Hylkää
Paras vastaus
  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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
2
kesäk. 25
755
1
kesäk. 25
840
2
toukok. 25
859
2
maalisk. 25
1613
0
tammik. 25
1493