Skip to Content
Menu
This question has been flagged
4920 Zobrazenia

Hii,

I have created a new module and In xml file created groups as following...

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="group_account_journal_posting_group" model="res.groups">
<field name="name">Journal Post Right</field>
<field name="category_id" ref="base.module_category_usability"/> </record>
<record id="group_customer_invoice_validate_group" model="res.groups">
    <field name="name">Validate Invoice Right</field> 
<field name="category_id" ref="base.module_category_usability"/>
</record>
<record id="tac_group_vendor_bill_validate_group" model="res.groups">
 <field name="name">Validate Bill Right</field>
 <field name="category_id" ref="base.module_category_usability"/>
</record>
</odoo>

When I upgrade this module getting following warning message in odoo 12...

2020-01-02 14:56:24,573 12163 WARNING production-1212 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/trru/odoo/custom/my_security/security/my_accounting_finance_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'
Avatar
Zrušiť

Maybe check your __manifest__.py have 'base' depends, and data including my_accounting_finance_security.xml file.

Autor

Getting the same ERROR when working on library project from odoo..

2020-01-05 05:46:53,219 3935 WARNING test-12 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/custom/addons/library_app_new/security/library_new_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'

2020-01-05 05:46:53,229 3935 WARNING test-12 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/custom/addons/library_app_new/security/library_new_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'

2020-01-05 05:46:53,312 3935 WARNING test-12 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/custom/addons/library_app_new/security/library_new_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'

2020-01-05 05:46:53,323 3935 WARNING test-12 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/custom/addons/library_app_new/security/library_new_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'

2020-01-05 05:46:53,372 3935 WARNING test-12 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/custom/addons/library_app_new/security/library_new_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'

2020-01-05 05:46:53,396 3935 WARNING test-12 odoo.addons.base.models.ir_ui_view: Could not find view arch definition in file '/odoo/custom/addons/library_app_new/security/library_new_security.xml' for xmlid '('base.user_groups_view', 'user_groups_view')'

Same warning here! However all the records in my ..._security.xml seems to be loaded well and everything is working. But, still doesn't like to find that warning there... Does anybody know anything now about this??

Thanks @Muhammad Anees, I've just noticed that the official Odoo Comunity addons, like Employees or Attendances produce the same kind of warning when are installed, so, yes you're right, ignoring should be ok, seems to be something kind of 'accepted' ...

Groups and Access Rights: https://goo.gl/4jAhtH

Autor

@Jose David Moreno Hernandez

Ignore this warning

Related Posts Replies Zobrazenia Aktivita
1
sep 19
6016
0
apr 24
1953
1
mar 22
2350
0
dec 19
4646
5
dec 19
3750