Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4730 Visualizações

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
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
mar. 15
7169
0
out. 15
3546
1
mar. 25
1230
0
nov. 24
1448
0
jun. 24
1523