Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
113 Visualizzazioni

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
Abbandona

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

Risposta migliore

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
Abbandona
Risposta migliore
  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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
giu 25
759
1
giu 25
845
2
mag 25
864
2
mar 25
1618
0
gen 25
1502