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

Hi,

when i installing custom module in odoo12,above error is occurring,

I added dependency of purchase module in manifest file.

Thanks

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

Is the Python file correctly using _inherit on the model purchase.order.line though?

Please post your code you are working with.

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

Hello HimanshuMishra,

Generally this type of error coming when system not found the model. So kindly check the below possibilities. 

1. Kindly check 'purchase.order.line' model properly inherited or not.

2. If created the seperate file with 'purchase.order.line' model then check it is added in '__init__.py' file or not.

3. Kindly check the dependancy of 'purchase' module in '__manifest__.py' file.

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

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