Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
106 Tampilan

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
Buang

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

Jawaban Terbai

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
Buang
Jawaban Terbai
  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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Jun 25
759
1
Jun 25
844
2
Mei 25
863
2
Mar 25
1618
0
Jan 25
1501