Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4731 Lượt xem

I am inherit the product module of product_product class to my custom class. and then i copy the view page of product view to my custom view. after that i delete some view configuration. when i run, i found the following error.

ERROR openERP openerp.modules.graph: module customproduct: Unmet dependencies: product

pls give some advice for solving the problem.

Thank you.

Ảnh đại diện
Huỷ bỏ
Tác giả

already add that line. thank you for your ans. but not working yet.

Câu trả lời hay nhất

I think you didn't give dependency of product module in your custom module.

Add dependency of product module in __openerp__.py under 'depends'.

Like this:

'depends': ['product']

Then restart your server and try it again.

Ảnh đại diện
Huỷ bỏ