← Back to team overview

openerp-dev-web team mailing list archive

Re: [Merge] lp:~openerp-dev-web/openobject-client-web/cp_path into lp:~openerp-dev/openobject-client-web/trunk-dev-web

 

> cp_path and url changes seems ok.
> 
> But i'm not sure about the templates:
> 
> -    @expose(template="templates/form.mako")
> +    @expose(template="/openerp/controllers/templates/form.mako")
> 
> Why is it needed ? I suppose that if a new addons extend a controller (thus in
> a new directory) the absolute path of the template is needed to find the
> template from that new addons directory ? Am i right ?
> 
> 
> also cleanup conflicts (patch line 760, 1171)

Yes Antony,
You are right. There is no need to have path like this.
Thanks for review and comment.
-- 
https://code.launchpad.net/~openerp-dev-web/openobject-client-web/cp_path/+merge/25214
Your team OpenERP SA's Web Client R&D is subscribed to branch lp:~openerp-dev/openobject-client-web/trunk-dev-web.



References