Skip to Content
Menu
This question has been flagged
4755 Rodiniai

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
Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
kov. 15
7192
0
spal. 15
3562
1
kov. 25
1265
0
lapkr. 24
1469
0
birž. 24
1543