コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4725 ビュー

in the technical documentation https://doc.openerp.com/trunk/server/03_module_dev_03/#design-elements

there is a example about a shortcut tag, but without any detailed explanation of what it does

<shortcut
    name="Draft Purchase Order (Proposals)"
    model="purchase.order"
    logins="demo"
    menu="m"/>

I tried it in my code with login 'admin' and a valid menu id, but got this error

File "lxml.etree.pyx", line 3027, in lxml.etree._Validator.assert_ (src/lxml/lxml.etree.c:129517)
AssertionError: Did not expect element shortcut there, line 9
アバター
破棄
関連投稿 返信 ビュー 活動
2
3月 15
7167
0
10月 15
3545
1
3月 25
1221
0
11月 24
1447
0
6月 24
1523