This message tells me almost nothing....
Exception: Module loading failed: file naics/naics/security/ir.model.access.csv could not be processed: Line 1 : No matching record found for external id 'model_naics_code' in field 'Object'
This line in the .csv file is such:
What is wrong with it? What matching record and where does it want? Is this something I should have added to the security.xml?
My view.xml wasn't correctly defined with the model in both the name and model fields. e.g.
<field name="name">naics.code</field> <field name="model">naics.code</field>
Now that this is correct the custom module installs ok and I can see the view on the appropriate URL. This model was designed to work with a pre-existing table (2500 records) I loaded into PG and I am happy to report I can now access this data through the model. Now to make this model interact with other models....
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/7/13, 4:59 PM|
|Seen: 2823 times|
|Last updated: 3/16/15, 8:10 AM|