Thanks for your answer, I already cheked the doc about actions (http://doc.tryton.org/3.6/trytond/doc/topics/actions.html) but it is not very usefull. I would like some kind of high level overview to help understand the principle of actions and keywords.
I think in my case, I'm mainly concerned by action_window which are listing the views for a model and possibly a filter to apply on the data. Is that right ? But I cannot figure out how keywords are related to actions and the description "Keywords define where to display the action in the client" doesn't help much. If you can help me, I would love to contribute to the doc on this point. Sylvain Le mercredi 1 juillet 2015 11:20:00 UTC+2, Jesús Martín Jiménez a écrit : > > > > 2015-07-01 10:16 GMT+02:00 Sylvain Vuilliot <[email protected] > <javascript:>>: > >> Hello all, >> >> I'm working on a mobile client for tryton with georaphic and off-line >> support for Bio Eco Forests. >> > > Great! > > >> I have some knowledge about the principles of tryton (model and views >> declaration) but I need a deeper understanding of the concepts of menu / >> action and keywords. >> Where can I find some doc or discussion about it ? >> >> > Here [1] > > >> For what I know, given a menu id, I can query >> "model.ir.action.keyword.get_keyword" and get view ids (one for a tree view >> and one for a form view). >> But I have questions like : >> * Can we have more than one view by type ? >> > > Not sure about understanding you. You can define list view, tree view, > form view, and so on. > > >> * Is it possible for a menu entry to define a "filter" on the data or is >> that defined in the view ? >> > > It must be defined on the action. > > >> >> Thanks for your responses >> >> Sylvain >> > > Cheers, > > > [1] http://doc.tryton.org/3.6/trytond/doc/index.html > > -- > > Jesús Martín > > Zikzakmedia SL > C/ de Sant Jaume, 9, baixos, 2ª > 08720 Vilafranca del Penedès > ☏ 93 890 21 08 >
