Code review comment for lp://qastaging/~openerp-community/openobject-server/7.0_improve_tree_view_doc-afe

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Good point, thanks!

While adding this, it might be worth indicating more precisely which kind of view supports it (kanban, tree, form, gantt), the full list of available options: `create|edit|delete`, and the fact that the system will automatically set default values for these attributes according to the configured ACLs (i.e. create, write and unlink permissions granted to the user's groups).
Another useful precision is that this is not dynamic per-record, but applied globally to the view.

See also the source for reference:
- server: http://bazaar.launchpad.net/~openerp/openobject-server/7.0/view/5062/openerp/osv/orm.py#L1917
- web: http://bazaar.launchpad.net/~openerp/openerp-web/7.0/view/4024/addons/web/static/src/js/views.js#L1473

Thanks!

review: Needs Fixing

« Back to merge proposal