Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I add 2 fields in task using a custom module & it works fine..
But when i trying to add security for one of the module as follows,an error occured!!!
<record model="ir.ui.view" id="create_file">
<field name="inherit_id" ref="project.view_task_form2" />
<field name="arch" type="xml">
<xpath expr="/form/sheet/group/group/field[@name='categ_ids']" position="after">
<field name="file_no" groups="group_trademark_user"/>
Field(s) `arch` failed against a constraint: Invalid view definition
External ID must be fully qualified" while parsing /home/amz02/Projects/odoo/odoo-8.0-647afdf/openerp/addons/file_details/file_details_veiw.xml:409, near
Any1 help me??!
<field name="file_no" groups="YOUR_MODULE.group_trademark_user"/>
where YOUR_MODULE is the module in which "group_trademark_user" group is added.
Also, in __openerp__.py,
This is to load the security file prior to loading your VIEWS.
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/3/15, 1:15 AM|
|Seen: 720 times|
|Last updated: 3/16/15, 8:10 AM|