changeset c20766351821 in modules/commission:default
details:
https://hg.tryton.org/modules/commission?cmd=changeset&node=c20766351821
description:
Improve ref attribute in XML data
The model is enforced according to the ref usage.
The ref attribute can be used as value for Reference field.
The exceptions raised by the parser are normalized.
issue10982
review384341002
diffstat:
commission_reporting.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6312546cf5ca -r c20766351821 commission_reporting.xml
--- a/commission_reporting.xml Thu Feb 03 23:13:26 2022 +0100
+++ b/commission_reporting.xml Mon Mar 07 00:52:58 2022 +0100
@@ -62,7 +62,7 @@
</record>
<record model="ir.action.keyword" id="act_reporting_agent_keyword1">
<field name="keyword">tree_open</field>
- <field name="model" eval="'ir.ui.menu,%s' %
ref('menu_reporting_commission')"/>
+ <field name="model" ref="menu_reporting_commission"/>
<field name="action" ref="act_reporting_agent"/>
</record>