Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
12284 Widoki

I am wondering maybe someone have made such a functionality and can share experience?

I want completely remove this feature.

thanks in advance

Awatar
Odrzuć
Najlepsza odpowiedź

Hi @zilvinas

If you wanna disable for an specific calendar view you can add the attribute quick_add="false"

If what you want is to not use it at all without define anything for all the calendar views, that require an extension to the widget in js

Awatar
Odrzuć
Autor

thank you! quick_add="false" is exactly i was looking for. maybe you have some referece where i can find all available attributes?

The reference that I use is mostly source code and my previous background on the topic. No silver bullet for this

Najlepsza odpowiedź

Dear Axel,

If possible, could you provide us with a reference/example of where to use this quick_add="false" field? I've snooped around the .py and .xml files of the Calendar addon, but there is no reference to this field anywhere. 

Thank you for your help! 

Awatar
Odrzuć

It's not a field, it's an attribute for the calendar tag view definition. You can find reference for it's usage on openerp/addons/base/rng/view.rng openerp/addons/web_calendar/static/src/js/web_calendar.js

Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
3789
1
wrz 23
1971
1
sie 25
183
1
sie 25
315
4
lip 25
1656