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

Exception: Module loading estate failed: file estate/security/ir.model.access.csv could not be processed:
No matching record found for external id 'estate.model_estate_property' in field 'Model'
Missing required value for the field 'Model' (model_id)

I am practicing writing module (after several year break), 

When it is going to Chap4,

I keep getting error message above.


I've tried `estate.model_estate_property`​,`model_estate_property`​`estate.model_estate.property`​`model_estate.property`​`estate_property`​`estate.property`​,

all of them not work.

What's wrong with it?

形象
丢弃
最佳答案

Hi,
Can you ensure that you have added model named estate_property and restarted the odoo service ?

You can have a look at this tutorials:  Odoo 17 Development Tutorials

Thanks

形象
丢弃
编写者 最佳答案

I am following server framework 101 in document,

and now meet something wrong

the table(model) didn't creat

I don't know how to fix it

I remane the __init__ file, and problem solved.

Maybe the old undrline is wrong

形象
丢弃