Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
91 Widoki

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 

Awatar
Odrzuć

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

Najlepsza odpowiedź

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.



Awatar
Odrzuć
Najlepsza odpowiedź
  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







Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
cze 25
756
1
cze 25
841
2
maj 25
860
2
mar 25
1613
0
sty 25
1493