콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4933 화면

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')'
아바타
취소

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

작성자

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

작성자

@Jose David Moreno Hernandez

Ignore this warning

관련 게시물 답글 화면 활동
1
9월 19
6023
0
4월 24
1964
1
3월 22
2360
0
12월 19
4663
5
12월 19
3757