Display ids and rule names on access error

issue8093
review60551002
This commit is contained in:
?ngel ?lvarez 2019-04-13 09:23:17 +02:00
parent 20d91d9da2
commit 244a8cc04e
2 changed files with 11 additions and 0 deletions

10
messages.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data group="1">
<record model="ir.message" id="can_not_remove_companies">
<field name="text">Can not remove companies related on parties.</field>
</record>
</data>
</tryton>

View File

@ -37,6 +37,7 @@ this repository contains the full copyright notices and license terms. -->
<!-- identifier -->
<record model="ir.rule.group" id="rule_group_identifier">
<field name="name">Party Identifier Company Rule</field>
<field name="model" search="[('model', '=', 'party.identifier')]"/>
<field name="global_p" eval="True"/>
</record>