跳至内容
菜单
此问题已终结
2 回复
7901 查看

Hi,

am unable to install a module (https://www.odoo.com/apps/modules/8.0/sale_rental/). I've downloaded it and added it to odoo/openerp/addons. I am also tried odoo/addons.

I've turned on the Technical features, so I can see an Update Apps List under Apps, but it does not show up.

I've seen some instructions that I should see Local Modules, but I do not even have a section called Modules under Settings: https://www.youtube.com/watch?v=OjRO-HbbNJE

Any advice is appreciated

形象
丢弃
编写者

I'm on v9

In version 9.0 "Local Modules" is also named "Apps", so you should see 2 times "Apps".

最佳答案

This module has been made uninstallable because it is not ported to version 9.0 yet. Please read the description of the github page carefully. If you nevertheless want to make it installable, change the line

    'installable': False,

to "True" in the file __openerp__.py

But do it on a test instance and make a backup before, you could probably experience all kind of nasty surprises.

形象
丢弃
编写者

installable is set to true, but the version is indeed 8. Does that need to be increased? { 'name': 'Rental', 'version': '8.0.0.1.0', 'category': 'Sales Management', 'license': 'AGPL-3', 'summary': 'Manage Rental of Products', 'author': 'Akretion', 'website': 'http://www.akretion.com', 'depends': ['sale_start_end_dates', 'stock'], 'data': [ 'sale_view.xml', 'stock_view.xml', 'rental_view.xml', 'rental_data.xml', 'wizard/create_rental_product_view.xml', 'product_view.xml', 'security/ir.model.access.csv', ], 'demo': ['rental_demo.xml'], 'installable': True, }

编写者

Also, any help on the directory or the lack of the Modules section under Settings, which includes Local Modules?

This is because the module depends on several other modules which are set to "uninstallable" too.

What you try to do here needs serious Odoo developing knowledge. If you have that knowledge, then you know the answer to your questions yourself. If not, I recommend you to refrain from such activities.

相关帖文 回复 查看 活动
5
11月 17
8755
1
3月 24
1387
2
7月 20
4147
1
1月 20
2661
1
12月 19
3126