Activity log for bug #1214799

Date Who What changed Old value New value Message
2013-08-21 09:18:56 Alexandre Fayolle - camptocamp bug added bug
2013-08-21 09:24:37 Alexandre Fayolle - camptocamp description In most places where a xml id is used to refer to an object defined in the same module, it is possible to use a shortcut and to refer to the object as "object_id" rather than "module.object_id". However, this does not work when specifying a view in the context attribute of a field element typically in a one2many field, as mentionned in https://doc.openerp.com/trunk/server/03_module_dev_03/#using-the-context which is quite confusing. I am not sure that this can be fixed, because the evaluation of the context is done at runtime rather than import time, and the module information may not be available then. But the documentation should mention this and emphasize it, because it is a real tricky point. Side note: this non feature is used in the stock module (which I unfortunately had consulted to check the validity of my view...) In most places where a xml id is used to refer to an object defined in the same module, it is possible to use a shortcut and to refer to the object as "object_id" rather than "module.object_id". However, this does not work when specifying a view in the context attribute of a field element typically in a one2many field, as mentionned in https://doc.openerp.com/trunk/server/03_module_dev_03/#using-the-context which is quite confusing. I am not sure that this can be fixed, because the evaluation of the context is done at runtime rather than import time, and the module information may not be available then. But the documentation should mention this and emphasize it, because it is a real tricky point. Side note: this non feature is used in the stock module (which I unfortunately had consulted to check the validity of my view...). Reported as lp:1214801
2013-08-21 09:50:34 Launchpad Janitor branch linked lp:~camptocamp/openobject-server/7.0-doc_improvement-afe
2013-08-21 12:00:59 Launchpad Janitor branch linked lp:openobject-server/7.0
2013-08-21 12:31:21 Launchpad Janitor branch linked lp:openobject-server
2013-08-21 12:40:57 Olivier Dony (Odoo) openobject-server: importance Undecided Wishlist
2013-08-21 12:40:57 Olivier Dony (Odoo) openobject-server: status New Won't Fix
2013-08-21 12:40:57 Olivier Dony (Odoo) openobject-server: assignee OpenERP's Framework R&D (openerp-dev-framework)
2013-08-21 18:00:42 Launchpad Janitor branch linked lp:ocb-server
2013-08-28 11:28:45 Launchpad Janitor branch linked lp:~ocb/ocb-server/rs-ocb-70